2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Change the default value for nocookie-udp-size back to 4096

The DNS Flag Day 2020 reduced all the EDNS buffer sizes to 1232.  In
this commit, we revert the default value for nocookie-udp-size back to
4096 because the option is too obscure and most people don't realize
that they also need to change this configuration option in addition to
max-udp-size.
This commit is contained in:
Ondřej Surý 2020-12-01 18:53:26 +01:00 committed by Ondřej Surý
parent a958d646ee
commit 79c196fc77
2 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,7 @@ options {\n\
memstatistics-file \"named.memstats\";\n\ memstatistics-file \"named.memstats\";\n\
# multiple-cnames <obsolete>;\n\ # multiple-cnames <obsolete>;\n\
# named-xfer <obsolete>;\n\ # named-xfer <obsolete>;\n\
nocookie-udp-size 1232;\n\ nocookie-udp-size 4096;\n\
notify-rate 20;\n\ notify-rate 20;\n\
nta-lifetime 3600;\n\ nta-lifetime 3600;\n\
nta-recheck 300;\n\ nta-recheck 300;\n\

View File

@ -1855,8 +1855,9 @@ Boolean Options
``nocookie-udp-size`` ``nocookie-udp-size``
This sets the maximum size of UDP responses that are sent to queries This sets the maximum size of UDP responses that are sent to queries
without a valid server COOKIE. A value below 128 is silently without a valid server COOKIE. A value below 128 is silently
raised to 128. The default value is 1232, but the ``max-udp-size`` raised to 128. The default value is 4096, but the ``max-udp-size``
option may further limit the response size. option may further limit the response size as the default for
``max-udp-size`` is 1232.
``sit-secret`` ``sit-secret``
This experimental option is obsolete. This experimental option is obsolete.