Commit fc16c0dd authored by Daniel Salzman's avatar Daniel Salzman

samples: replace knot.full.conf with man/knot.conf.5.in

parent 94573f38
...@@ -83,10 +83,6 @@ ...@@ -83,10 +83,6 @@
/*.info /*.info
/*coverage/ /*coverage/
# alternative allocators
/src/allocator.h
/src/allocators/
# sphinx documentation # sphinx documentation
/doc/_build/ /doc/_build/
/doc/conf.py /doc/conf.py
...@@ -11,19 +11,15 @@ Minimal configuration ...@@ -11,19 +11,15 @@ Minimal configuration
The following configuration presents a minimal configuration file The following configuration presents a minimal configuration file
which can be used as a base for your Knot DNS setup:: which can be used as a base for your Knot DNS setup::
# This is a sample of a minimal configuration file for Knot DNS.
#
# For exhaustive list of all options see samples/knot.full.conf
# in the source directory.
#
interfaces { interfaces {
my_interface { address 127.0.0.1@53; } all_ipv4 {
second_int { address ::1; } address 0.0.0.0;
port 53;
}
all_ipv6 {
address [::];
port 53;
} }
log {
syslog { any info; }
} }
zones { zones {
...@@ -32,6 +28,10 @@ which can be used as a base for your Knot DNS setup:: ...@@ -32,6 +28,10 @@ which can be used as a base for your Knot DNS setup::
} }
} }
log {
syslog { any info; }
}
Now let's go step by step through this minimal configuration file: Now let's go step by step through this minimal configuration file:
* The ``interfaces`` statement defines interfaces where Knot * The ``interfaces`` statement defines interfaces where Knot
......
This diff is collapsed.
...@@ -83,7 +83,8 @@ Make sure the key can be read/written only by the owner for security reasons. ...@@ -83,7 +83,8 @@ Make sure the key can be read/written only by the owner for security reasons.
.TP .TP
# knotc \-s 127.0.0.1 \-k knotc.key reload # knotc \-s 127.0.0.1 \-k knotc.key reload
.SH "SEE ALSO" .SH "SEE ALSO"
.BR knotd (8) .BR knotd (8),
.BR knot.conf (5).
.SH NOTE .SH NOTE
The full documentation for \fBKnot DNS\fR is maintained The full documentation for \fBKnot DNS\fR is maintained
as a Texinfo manual. If the \fBinfo\fR program is properly as a Texinfo manual. If the \fBinfo\fR program is properly
......
...@@ -20,7 +20,8 @@ Print version of the server. ...@@ -20,7 +20,8 @@ Print version of the server.
\fB\-h\fR, \fB\-\-help\fR \fB\-h\fR, \fB\-\-help\fR
Print help and usage. Print help and usage.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR knotc (8) .BR knotc (8),
.BR knot.conf (5).
.SH NOTE .SH NOTE
The full documentation for \fBKnot DNS\fR is maintained The full documentation for \fBKnot DNS\fR is maintained
as a Texinfo manual. If the \fBinfo\fR program is properly as a Texinfo manual. If the \fBinfo\fR program is properly
......
...@@ -15,7 +15,7 @@ knot.sample.conf: knot.sample.conf.in ...@@ -15,7 +15,7 @@ knot.sample.conf: knot.sample.conf.in
$(edit) $${srcdir}$@.in >$@.tmp $(edit) $${srcdir}$@.in >$@.tmp
mv $@.tmp $@ mv $@.tmp $@
EXTRA_DIST = knot.sample.conf.in knot.full.conf knot.keys.conf example.com.zone EXTRA_DIST = knot.sample.conf.in example.com.zone
install-data-local: knot.sample.conf install-data-local: knot.sample.conf
[ -d $(DESTDIR)/$(config_dir) ] || \ [ -d $(DESTDIR)/$(config_dir) ] || \
......
This diff is collapsed.
#
# knot.keys.conf
#
# This is a sample configuration file which is included from 'knot.full.conf'.
#
keys {
key0.server0 hmac-md5 "Wg==";
key0.example.com hmac-md5 "==gW";
}
# #
# This is a sample of a minimal configuration file for Knot DNS. # This is a sample of a minimal configuration file for Knot DNS.
# #
# For exhaustive list of all options see samples/knot.full.conf # For exhaustive list of all options see man 5 knot.conf or refer to user manual.
# in the source directory or refer to user manual.
# #
system { system {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment