aboutsummaryrefslogtreecommitdiff
path: root/doc/example.conf.in
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:44:22 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:44:22 +0000
commit79dd93c19fd35899133800562b0db20f1a4c0f56 (patch)
tree86c1332d2843f4c80ae64365c16ba04306b6f542 /doc/example.conf.in
parentf61d78fb42d2662643e7f0dbdcb97adbc2589dbc (diff)
downloadsrc-vendor/unbound/1.4.22.tar.gz
src-vendor/unbound/1.4.22.zip
import unbound 1.4.22vendor/unbound/1.4.22
Diffstat (limited to 'doc/example.conf.in')
-rw-r--r--doc/example.conf.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index a0cffd57fef7..c13fbae045ef 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -1,7 +1,7 @@
#
# Example configuration file.
#
-# See unbound.conf(5) man page, version 1.4.21.
+# See unbound.conf(5) man page, version 1.4.22.
#
# this is a comment.
@@ -84,6 +84,9 @@ server:
# buffer size for UDP port 53 outgoing (SO_SNDBUF socket option).
# 0 is system default. Use 4m to handle spikes on very busy servers.
# so-sndbuf: 0
+
+ # on Linux(3.9+) use SO_REUSEPORT to distribute queries over threads.
+ # so-reuseport: no
# EDNS reassembly buffer to advertise to UDP peers (the actual buffer
# is set with msg-buffer-size). 1480 can solve fragmentation (timeouts).
@@ -111,6 +114,9 @@ server:
# if very busy, 50% queries run to completion, 50% get timeout in msec
# jostle-timeout: 200
+
+ # msec to wait before close of port on timeout UDP. 0 disables.
+ # delay-close: 0
# the amount of memory to use for the RRset cache.
# plain value in bytes or you can append k, m or G. default is "4Mb".
@@ -165,6 +171,8 @@ server:
# By default everything is refused, except for localhost.
# Choose deny (drop message), refuse (polite error reply),
# allow (recursive ok), allow_snoop (recursive and nonrecursive ok)
+ # deny_non_local (drop queries unless can be answered from local-data)
+ # refuse_non_local (like deny_non_local but polite error reply).
# access-control: 0.0.0.0/0 refuse
# access-control: 127.0.0.0/8 allow
# access-control: ::0/0 refuse