]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Update example.conf with cookie options.
authorYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 22 Dec 2023 10:42:20 +0000 (11:42 +0100)
committerYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 22 Dec 2023 10:42:20 +0000 (11:42 +0100)
doc/Changelog
doc/example.conf.in

index 6c8dd94efe9bcc12af3b900474328fc224066a5f..130d46a8fa57b66bd2af642664cb6f7874c465e0 100644 (file)
@@ -1,3 +1,6 @@
+22 December 2023: Yorgos
+       - Update example.conf with cookie options.
+
 8 December 2023: Yorgos
        - Merge PR #973: Use the origin (DNAME) TTL for synthesized CNAMEs as
          per RFC 6672.
index 547b35500c258755f89ded5bfe0ef5eb2bc8bfb5..4085b8616ac0d7bcf7345f5394f54bf9a47694c1 100644 (file)
@@ -303,6 +303,7 @@ server:
        # Choose deny (drop message), refuse (polite error reply),
        # allow (recursive ok), allow_setrd (recursive ok, rd bit is forced on),
        # allow_snoop (recursive and nonrecursive ok)
+       # allow_cookie (allow UDP with valid cookie or stateful transport)
        # 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: 127.0.0.0/8 allow
@@ -986,6 +987,13 @@ server:
        # if 0(default) it is disabled, otherwise states qps allowed per ip address
        # ip-ratelimit: 0
 
+       # global query ratelimit for all ip addresses with a valid DNS Cookie.
+       # feature is experimental.
+       # if 0(default) it is disabled, otherwise states qps allowed per ip address
+       # useful in combination with 'allow_cookie'.
+       # If used, suggested to be higher than ip-ratelimit, tenfold.
+       # ip-ratelimit-cookie: 0
+
        # ip ratelimits are tracked in a cache, size in bytes of cache (or k,m).
        # ip-ratelimit-size: 4m
        # ip ratelimit cache slabs, reduces lock contention if equal to cpucount.
@@ -1007,6 +1015,14 @@ server:
        # the number of servers that will be used in the fast server selection.
        # fast-server-num: 3
 
+       # reply to requests containing DNS Cookies as specified in RFC 7873 and RFC 9018.
+       # answer-cookie: no
+
+       # secret for DNS Cookie generation.
+       # useful for anycast deployments.
+       # example value "000102030405060708090a0b0c0d0e0f".
+       # cookie-secret: <128 bit random hex string>
+
        # Enable to attach Extended DNS Error codes (RFC8914) to responses.
        # ede: no