[bind] reverse lookup for loopback ipv6 address
Hello Group,
My zone file has two records, '::1' and '::2' where I am able to resolve '::2' but not '::1'. Please refer to the configuration snippet below.
OS: Debian Lenny
software: bind-9.6.1-P1
zone configuration:
;
$TTL 86400
$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.
@ IN SOA apple.yakiringo.jp. hostmaster.yakiringo.jp. (
2009102800 ; Serial (YYYYMMDDVV)
28800 ; Refresh (8 hours)
1800 ; Retry (30 minitues)
604800 ; Expires (1 week)
43200) ; Negative cache (12 hours)
IN NS apple.yakiringo.jp.
; reserved: loopback
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR localhost.
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR localhost2.
yuguri@apple:~$ host ::2
2.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 domain name pointer localhost2.
yuguri@apple:~$ host ::1
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 has no PTR record
Any idea why 'host ::1' is returning 'has no PTR record' and 'host ::2' works just fine?
Regards,
Yuguri
|