summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJan Vcelak <jan.vcelak@nic.cz>2013-04-26 13:19:39 +0200
committerJan Vcelak <jan.vcelak@nic.cz>2013-04-26 13:19:39 +0200
commitc95bb951751b6205d1401fcd6c6f1e9c7d2e10e9 (patch)
tree2654476c258124b3d779d415c1a8c7144c51face /samples
parentFixed OpenBSD build (missing header). (diff)
downloadknot-c95bb951751b6205d1401fcd6c6f1e9c7d2e10e9.tar.xz
knot-c95bb951751b6205d1401fcd6c6f1e9c7d2e10e9.zip
global whitespace cleanup
Change-Id: I429b3833c5db9e78220beb1ea72980b557ba06c4
Diffstat (limited to 'samples')
-rw-r--r--samples/example.com.zone1
-rw-r--r--samples/knot.full.conf50
-rw-r--r--samples/knot.min.conf4
3 files changed, 27 insertions, 28 deletions
diff --git a/samples/example.com.zone b/samples/example.com.zone
index 4e585c1ce..ee51895f1 100644
--- a/samples/example.com.zone
+++ b/samples/example.com.zone
@@ -20,4 +20,3 @@ dns2 A 192.0.2.2
mail A 192.0.2.3
AAAA 2001:DB8::3
-
diff --git a/samples/knot.full.conf b/samples/knot.full.conf
index 8b7ebbc55..8fe017d1e 100644
--- a/samples/knot.full.conf
+++ b/samples/knot.full.conf
@@ -20,7 +20,7 @@ system {
# Version of the server (see RFC 4892). Not used yet.
version "1.2";
- # Server identifier
+ # Server identifier
# Use string format "text"
# Or hexstring 0x01ab00
nsid "myserver0";
@@ -65,25 +65,25 @@ system {
# This number also includes pending SOA queries
# Minimal value is number of CPUs
# Default: 10
- transfers 10;
+ transfers 10;
# Rate limit
# in queries / second
# Default: off (=0)
rate-limit 0;
-
+
# Rate limit bucket size
# Number of hashtable buckets, set to reasonable value as default.
# We chose a reasonably large prime number as it's used for hashtable size,
# it is recommended to do so as well due to better distribution.
- # Rule of thumb is to set it to about 1.2 * (maximum_qps)
+ # Rule of thumb is to set it to about 1.2 * (maximum_qps)
# Memory cost is approx. 32B per bucket
- # Default: 393241
+ # Default: 393241
rate-limit-size 393241;
- # Rate limit SLIP
+ # Rate limit SLIP
# Each Nth blocked response will be sent as truncated, this is a way to allow
- # legitimate requests to get a chance to reconnect using TCP
+ # legitimate requests to get a chance to reconnect using TCP
# Default: 2
rate-limit-slip 2;
}
@@ -118,11 +118,11 @@ include "knot.keys.conf";
interfaces {
# Interface entry
- #
+ #
# Format 1: <name> { address <address>; [port <port>;] }
ipv4 { # <name> is an arbitrary symbolic name
address 127.0.0.1; # <address> may be ither IPv4 or IPv6 address
- port 53531; # port is required for XFR/IN and NOTIFY/OUT
+ port 53531; # port is required for XFR/IN and NOTIFY/OUT
}
# Format 2: <name> { address <address>@<port>; }
@@ -184,7 +184,7 @@ control {
# with MitM type attacks, so you should keep the interface on localnet.
# Default port is: 5553
listen-on { address 127.0.0.1@5553; }
-
+
# Specifies ACL list for remote control
# Same syntax as for ACLs in zones
# List of remotes or groups delimited by comma
@@ -206,7 +206,7 @@ zones {
# Possible values: on|off
# Default value: off
semantic-checks off;
-
+
# Disable ANY type queries for authoritative answers (if 'on')
# Possible values: on|off
# Default value: off
@@ -244,7 +244,7 @@ zones {
# it is considered relative to the current directory from which the server
# was started.
file "samples/example.com.zone";
-
+
# Build differences from zone file changes
# Possible values: on|off
# Default value: off
@@ -277,16 +277,16 @@ zones {
# f.e. 1s = 1 second, 1m = 1 minute, 1h = 1 hour, 1d = 1 day
zonefile-sync 1h;
- # XFR master server
+ # XFR master server
xfr-in server0;
# ACL list of XFR slaves
xfr-out server0, server1;
- # ACL list of servers allowed to send NOTIFY queries
+ # ACL list of servers allowed to send NOTIFY queries
notify-in server0;
- # List of servers to send NOTIFY to
+ # List of servers to send NOTIFY to
notify-out server0, server1;
# List of servers to allow UPDATE queries
@@ -296,15 +296,15 @@ zones {
# Section 'log' configures logging of server messages.
#
-# Logging recognizes 3 symbolic names of log devices:
+# Logging recognizes 3 symbolic names of log devices:
# stdout - Standard output
# stderr - Standard error output
# syslog - Syslog
-#
+#
# In addition, arbitrary number of log files may be specified (see below).
#
# Log messages are characterized by severity and category.
-# Supported severities:
+# Supported severities:
# debug - Debug messages. Must be turned on at compile time.
# info - Informational messages.
# notice - Notices and hints.
@@ -323,8 +323,8 @@ zones {
# any - All categories
#
# More severities (separated by commas) may be listed for each category.
-# All applicable severities must be listed.
-# (I.e. specifying 'error' severity does mean: 'log error messages',
+# All applicable severities must be listed.
+# (I.e. specifying 'error' severity does mean: 'log error messages',
# and NOT 'log all messages of severity error and above'.)
#
# Default settings (in case there are no entries in 'log' section or the section
@@ -336,14 +336,14 @@ log {
# Log entry
#
- # Format 1:
- # <log> {
- # <category1> <severity1> [, <severity2> ...];
+ # Format 1:
+ # <log> {
+ # <category1> <severity1> [, <severity2> ...];
# <category2> <severity1> [, <severity2> ...];
# ...
- # }
+ # }
syslog { # <log> is a symbolic name of a log device (see above)
- # log errors of any category
+ # log errors of any category
any error; # for <category> and <severity> see above
# log also warnings and notices from category 'zone'
zone warning, notice;
diff --git a/samples/knot.min.conf b/samples/knot.min.conf
index 6b7c1af1d..b3dad31cf 100644
--- a/samples/knot.min.conf
+++ b/samples/knot.min.conf
@@ -17,8 +17,8 @@ interfaces {
}
zones {
- example.com {
- file "samples/example.com.zone";
+ example.com {
+ file "samples/example.com.zone";
}
}