Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 11:50:27 GMT
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   standards/45557: [PATCH] /etc/namedb/named.conf compliance with RFC3152
Message-ID:  <200211211150.gALBoRSq062442@happy-idiot-talk.infracaninophile.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         45557
>Category:       standards
>Synopsis:       [PATCH] /etc/namedb/named.conf compliance with RFC3152
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-standards
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 21 04:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.7-STABLE FreeBSD 4.7-STABLE #20: Fri Nov 15 20:05:15 GMT 2002 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

RFC3152 concerns the delegation of IP6.ARPA. as the top level domain
for inverse lookups of IPv6 addresses. It states, in part:

2. Obsoleted Usage

   This document deprecates references to IP6.INT in [RFC1886] section
   2.5, [RFC2553] section 6.2.3, [RFC2766] section 4.1, [RFC2772]
   section 7.1.c, and [RFC2874] section 2.5.

   In this context, 'deprecate' means that the old usage is not
   appropriate for new implementations, and IP6.INT will likely be
   phased out in an orderly fashion.

Note that the default /etc/namedb/named.conf supplied with
FreeBSD contains:

zone "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.INT" {
        type master;
        file "localhost-v6.rev";
};

whereas the bind 8.3.x software bundled with the system observes the
new usage, so that:

   dig -x ::1

generates a query like:

;; QUERY SECTION:
;;      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, type = ANY, class = IN

>How-To-Repeat:
>Fix:

For backwards compatibility, just add the ...ip6.arpa zone to named.conf:

happy-idiot-talk:/usr/src:# diff -u etc/namedb/named.conf{.orig,}
--- etc/namedb/named.conf.orig  Thu Nov 21 11:43:56 2002
+++ etc/namedb/named.conf       Thu Nov 21 11:45:56 2002
@@ -65,7 +65,14 @@
        file "localhost.rev";
 };
 
+// RFC 1886 -- deprecated
 zone "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.INT" {
+       type master;
+       file "localhost-v6.rev";
+};
+
+// RFC 3152
+zone "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" {
        type master;
        file "localhost-v6.rev";
 };



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211211150.gALBoRSq062442>