This is an old revision of the document!


Example subnet

f 2001:15c0:66e9

;
; 2001:15c0:66e9::/48
;
$TTL 3d	; Default TTL (bind 8 needs this, bind 9 ignores it)
$ORIGIN 9.e.6.6.0.c.5.1.1.0.0.2.ip6.arpa.
@	IN SOA ns.xxxxx.tld. hostmaster.xxxxx.tld. (
		2009050120	; Serial number (YYYYMMdd)
		24h		; Refresh time
		30m		; Retry time
		1w		; Expire time
		3d		; Default TTL (bind 8 ignores this, bind 9 needs it)
)

                                ; Name server entries
                 IN     NS     ns.xxxxx.tld.
                 IN     NS     ns2.xxxxx.tld.
                 IN     TXT	"2001:15c0:66e9::/48 Example IPv6 reverse"
; IPv6 PTR entries

; Subnet #1
$ORIGIN 1.0.0.0.9.e.6.6.0.c.5.1.1.0.0.2.ip6.arpa.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0         IN      PTR     foobar.xxxx.tld.

; Subnet #2
$ORIGIN 0.0.0.0.9.e.6.6.0.c.5.1.1.0.0.2.ip6.arpa.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0         IN      PTR     gw.xxxxxx.tld.

f named.arpa.zone.conf

zone "9.e.6.6.0.c.5.1.1.0.0.2.ip6.arpa" {
	notify yes;
	type master;
	file "/etc/bind/arpa/2001:15c0:66e9";
        allow-update { none; };
        allow-transfer {xxxx};
};
dns/ipv6ptr.1241196417.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready