]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Restore 'synth-from-dnssec yes;' as the default
authorMark Andrews <marka@isc.org>
Thu, 21 Oct 2021 05:30:35 +0000 (16:30 +1100)
committerPetr Špaček <pspacek@isc.org>
Thu, 2 Dec 2021 13:18:41 +0000 (14:18 +0100)
bin/named/config.c
bin/tests/system/synthfromdnssec/tests.sh
doc/arm/reference.rst

index f023c48ce78f558e26d5c1cd9e510005fbffadac..6a8fc599fb71b5827bf31940a6e26e94b844bab7 100644 (file)
@@ -190,7 +190,7 @@ options {\n\
        stale-answer-ttl 30; /* 30 seconds */\n\
        stale-cache-enable false;\n\
        stale-refresh-time 30; /* 30 seconds */\n\
-       synth-from-dnssec no;\n\
+       synth-from-dnssec yes;\n\
 #      topology <none>\n\
        transfer-format many-answers;\n\
        v6-bias 50;\n\
index badeeb14bb0a206dd213ae029b61da21f7011dd2..4b4ea83b56eba3c312367dce132302a16e1d4c0a 100644 (file)
@@ -16,6 +16,7 @@ set -e
 
 status=0
 n=1
+synth_default=yes
 
 rm -f dig.out.*
 
@@ -217,7 +218,7 @@ sleep 1
 for ns in 2 4 5 6
 do
     case $ns in
-    2) ad=yes synth=no description="<default>";;
+    2) ad=yes synth=${synth_default} description="<default>";;
     4) ad=yes synth=no description="no";;
     5) ad=yes synth=yes description="yes";;
     6) ad=no synth=no description="yes; dnssec-validation no";;
@@ -412,7 +413,6 @@ n=$((n+1))
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
-
 echo_i "check DNAME handling (synth-from-dnssec yes;) ($n)"
 ret=0
 dig_with_opts dnamed.example. ns @10.53.0.5 > dig.out.ns5.test$n || ret=1
index 3db804154c75b62503b8c7e4b64e31dbc63ede64..d46ae8f4cb8bb1c057028e32bb863632b67b3157 100644 (file)
@@ -2240,8 +2240,7 @@ Boolean Options
 
 ``synth-from-dnssec``
    This option synthesizes answers from cached NSEC, NSEC3, and other RRsets that have been
-   proved to be correct using DNSSEC. The default is ``no``, but it will become
-   ``yes`` again in future releases.
+   proved to be correct using DNSSEC. The default is ``yes``.
 
    .. note:: DNSSEC validation must be enabled for this option to be effective.
       This initial implementation only covers synthesis of answers from