Skip to content
Snippets Groups Projects
Commit 47aaa4ec authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

sample configuration file with includes

refs #2381
parent 4bfe97d1
No related branches found
No related tags found
No related merge requests found
...@@ -88,25 +88,31 @@ system { ...@@ -88,25 +88,31 @@ system {
rate-limit-slip 2; rate-limit-slip 2;
} }
# Section 'keys' contains list of TSIG keys # Includes can be placed anywhere at any level in the configuration file. The
keys { # file name can be relative to current file or absolute.
#
# This include includes keys which are commented out in next section.
include "knot.keys.conf";
# TSIG key # Section 'keys' contains list of TSIG keys
# #keys {
# format: name key-type "<key>"; #
# where key-type may be one of the following: # # TSIG key
# hmac-md5 # #
# hmac-sha1 # # format: name key-type "<key>";
# hmac-sha224 # # where key-type may be one of the following:
# hmac-sha256 # # hmac-md5
# hmac-sha384 # # hmac-sha1
# hmac-sha512 # # hmac-sha224
# and <key> is the private key # # hmac-sha256
key0.server0 hmac-md5 "Wg=="; # # hmac-sha384
# # hmac-sha512
# TSIG key for zone # # and <key> is the private key
key0.example.com hmac-md5 "==gW"; # key0.server0 hmac-md5 "Wg==";
} #
# # TSIG key for zone
# key0.example.com hmac-md5 "==gW";
#}
# Section 'interfaces' contains definitions of listening interfaces. # Section 'interfaces' contains definitions of listening interfaces.
interfaces { interfaces {
......
#
# 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";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment