Subject: Re: A6 and libresolv
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/06/2001 19:17:38
>> As far as I can tell, /usr/lib/libresolv.* in 1.5 doesn't support A6
>> addresses, only AAAA. Is this assumption correct? Is an A6 version
>> available?
>>
>> The BIND9 documentation suggests that it comes with an "Experimental IPv6
>> resolver libarary", but I don't see it, and don't seem to have A6 support
>> except in the BIND tools.
>
>IMHO the more interresting question is: can we get DNS queried run over
>IPv6 instead of v4?
of course we can.
netbsd client - put IPv6 address into /etc/resolv.conf.
random DNS servers - run BIND9.
master/slave DNS server for a particular zone -
run BIND9.
add AAAA record to the node pointed to by NS (like "ns.foo.com")
ask upstream to add IPv6 address into their database, for
glue records.
itojun
; <<>> DiG 9.1.1rc7 <<>> wide.ad.jp. ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6722
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5
;; QUESTION SECTION:
;wide.ad.jp. IN NS
;; ANSWER SECTION:
wide.ad.jp. 137539 IN NS ns0.matsui.co.jp.
wide.ad.jp. 137539 IN NS ns1.v6.wide.ad.jp.
wide.ad.jp. 137539 IN NS ns1.matsui.co.jp.
wide.ad.jp. 137539 IN NS ns.wide.ad.jp.
wide.ad.jp. 137539 IN NS ns.tokyo.wide.ad.jp.
;; ADDITIONAL SECTION:
ns.tokyo.wide.ad.jp. 42152 IN A 203.178.136.61
ns0.matsui.co.jp. 42155 IN A 210.173.161.162
ns1.v6.wide.ad.jp. 28067 IN A 203.178.136.40
ns1.v6.wide.ad.jp. 137539 IN AAAA 2001:200:0:1::1
ns1.matsui.co.jp. 42155 IN A 210.173.161.163
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(0.0.0.0)
;; WHEN: Fri Apr 6 19:16:47 2001
;; MSG SIZE rcvd: 227