[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03522) Re: dns reverse lookup issues
>>>>> On Mon, 7 Nov 2005 18:38:09 +0530,
>>>>> Sanjib Das <Sanjib.Das@xxxxxxxxxxxxxxx> said:
> As per RFC 3364 : Any name server which does not support bit label will
> return error
> As per RFC 3363: This document moves the A6 and Bit label
> specifications to experimental status.
> In few docs (http://ftp.teledanmark.no/pub/networking/dns/Bv9ARM.pdf)
> (section 4.8.3) i got
> "nibble format to look up names is deprecated, it is supported for
> backwards
> compatiblity with existing IPv6 applications."
RFC3363 is the latest standard. The latest version of BIND9 ARM has
already been aligned with it. You simply referred to an older version
document.
The latest version of dig is also aligned with the latest standard.
You can simply use the -x option just like you would do with IPv4
addresses:
% ~/src/bind-9.3.1/bin/dig/dig -x 2001:200:0:8002:203:47ff:fea5:3085 ptr
You'll then see:
; <<>> DiG 9.3.1 <<>> -x 2001:200:0:8002:203:47ff:fea5:3085 ptr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38785
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;5.8.0.3.5.a.e.f.f.f.7.4.3.0.2.0.2.0.0.8.0.0.0.0.0.0.2.0.1.0.0.2.ip6.arpa. IN PTR
;; ANSWER SECTION:
5.8.0.3.5.a.e.f.f.f.7.4.3.0.2.0.2.0.0.8.0.0.0.0.0.0.2.0.1.0.0.2.ip6.arpa. 86247 IN PTR orange.kame.net.
(snip)
The latest host command also just uses the nibble format. You don't
need any special options:
% ~/src/bind-9.3.1/bin/dig/host 2001:200:0:8002:203:47ff:fea5:3085
5.8.0.3.5.a.e.f.f.f.7.4.3.0.2.0.2.0.0.8.0.0.0.0.0.0.2.0.1.0.0.2.ip6.arpa domain name pointer orange.kame.net.
JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
jinmei@xxxxxxxxxxxxxxxxxxxxx