]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add RESOLVER.ARPA to the built in empty zones
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2024 05:32:33 +0000 (16:32 +1100)
committerMark Andrews <marka@isc.org>
Wed, 20 Mar 2024 20:45:55 +0000 (07:45 +1100)
RFC 9462 adds RESOLVER.ARPA to the list of built in empty zones.

bin/named/server.c
bin/tests/system/builtin/tests.sh
bin/tests/system/rndc/tests.sh
doc/arm/reference.rst

index 116ccbbd8f49058e788864b55061a022b1a9a842..04116bb36505776656b2b4a37fe6b5b586e2a391 100644 (file)
@@ -400,6 +400,9 @@ const char *empty_zones[] = {
        /* RFC 8375 */
        "HOME.ARPA",
 
+       /* RFC 9462 */
+       "RESOLVER.ARPA",
+
        NULL
 };
 
index cd3df75c24bfe9763d140aedfb0a9e6078bf229a..96b1a2c8a624cb6167b500b71b0f159a39aba299 100644 (file)
@@ -120,7 +120,8 @@ A.E.F.IP6.ARPA
 B.E.F.IP6.ARPA
 8.B.D.0.1.0.0.2.IP6.ARPA
 EMPTY.AS112.ARPA
-HOME.ARPA"
+HOME.ARPA
+RESOLVER.ARPA"
 
 n=$((n + 1))
 ret=0
@@ -134,7 +135,7 @@ for zone in ${emptyzones}; do
   count=$((count + 1))
 done
 lines=$(grep "automatic empty zone: " ns1/named.run | wc -l)
-test $count -eq $lines -a $count -eq 99 || {
+test $count -eq $lines -a $count -eq 100 || {
   ret=1
   echo_i "failed (count mismatch)"
 }
index 0c420c0789ca17744cb8ff1f099fdb559cfb56ad..ee9bd1c6b563b26545850b54890ed10411adfcb0 100644 (file)
@@ -436,7 +436,7 @@ n=$((n + 1))
 echo_i "testing automatic zones are reported ($n)"
 ret=0
 $RNDC -s 10.53.0.4 -p ${EXTRAPORT6} -c ns4/key6.conf status >rndc.out.1.test$n || ret=1
-grep "number of zones: 199 (198 automatic)" rndc.out.1.test$n >/dev/null || ret=1
+grep "number of zones: 201 (200 automatic)" rndc.out.1.test$n >/dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=$((status + ret))
 
index 0f9cc6b543cc1cb9f72b53594dbb5456141b7346..e4f1b1cc7a2f14a9bb60fb678fe3b2aa212950cb 100644 (file)
@@ -4781,6 +4781,7 @@ The current list of empty zones is:
 -  B.E.F.IP6.ARPA
 -  EMPTY.AS112.ARPA
 -  HOME.ARPA
+-  RESOLVER.ARPA
 
 Empty zones can be set at the view level and only apply to views of
 class IN. Disabled empty zones are only inherited from options if there