Reserved empty zones - please include them into the code by default.

D. Stussy spam at bde-arc.ampr.org
Thu Jul 10 07:47:26 UTC 2008


Can we please turn on ALL of the RFC 1918 reserved empty zones that are
configured into BIND, please?  Why are they still "ifdef'ed" out?

Note also:  Adding IPv6 "example" reverse zone for 2001:db8::/32 and
multicast range FF00::/8.
(This patch works with 9.5.0-P1 - but is offset by one line.  I diff'ed it
using 9.5.0.)

diff -ur bin/named/server.c bin/named/server.c
--- bin/named/server.c  2008-04-03 06:20:33.000000000 +0000
+++ bin/named/server.c  2008-06-11 22:14:13.000000000 +0000
@@ -180,7 +180,7 @@
        const char      *zone;
        isc_boolean_t   rfc1918;
 } empty_zones[] = {
-#ifdef notyet
+
        /* RFC 1918 */
        { "10.IN-ADDR.ARPA", ISC_TRUE },
        { "16.172.IN-ADDR.ARPA", ISC_TRUE },
@@ -200,7 +200,7 @@
        { "30.172.IN-ADDR.ARPA", ISC_TRUE },
        { "31.172.IN-ADDR.ARPA", ISC_TRUE },
        { "168.192.IN-ADDR.ARPA", ISC_TRUE },
-#endif
+

        /* RFC 3330 */
        { "0.IN-ADDR.ARPA", ISC_FALSE },        /* THIS NETWORK */
@@ -212,12 +212,14 @@
        /* Local IPv6 Unicast Addresses */
        {
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA",
ISC_FALSE },
        {
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA",
ISC_FALSE },
-       /* LOCALLY ASSIGNED LOCAL ADDRES S SCOPE */
+       { "8.B.D.0.1.0.0.2.IP6.ARPA", ISC_FALSE },
+       /* LOCALLY ASSIGNED LOCAL ADDRESS SCOPE */
        { "D.F.IP6.ARPA", ISC_FALSE },
        { "8.E.F.IP6.ARPA", ISC_FALSE },        /* LINK LOCAL */
        { "9.E.F.IP6.ARPA", ISC_FALSE },        /* LINK LOCAL */
        { "A.E.F.IP6.ARPA", ISC_FALSE },        /* LINK LOCAL */
        { "B.E.F.IP6.ARPA", ISC_FALSE },        /* LINK LOCAL */
+       { "F.F.IP6.ARPA", ISC_FALSE },          /* MULTICAST */

        { NULL, ISC_FALSE }
 };




More information about the bind-users mailing list