AAAA entry in /etc/named.conf
Mark Andrews
Mark_Andrews at isc.org
Tue Jul 26 23:46:39 UTC 2005
> want to add AAAA records that reflect our A records.
>
> hostname1 IN A 130.94.106.85
> hostname1 IN AAAA 2002:825e:6a55::
>
> is the above correct? Or does the AAAA entry need to be a different notation
> ?
The mapped AAAA record would be ::ffff:130.94.106.85.
Note there is no need to do this. getaddrinfo() etc.
know to make both A and AAAA queries. Also getaddrinfo()
is NOT expecting mapped addresses to be returned to a AAAA
query.
Just add AAAA records for the real IPv6 addresses.
e.g.
; <<>> DiG 8.3 <<>> www.isc.org +noadd
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43666
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 2
;; QUERY SECTION:
;; www.isc.org, type = A, class = IN
;; ANSWER SECTION:
www.isc.org. 10M IN A 204.152.184.88
;; AUTHORITY SECTION:
isc.org. 1H IN NS ns-ext.isc.org.
isc.org. 1H IN NS ns-ext.lga1.isc.org.
isc.org. 1H IN NS ns-ext.nrt1.isc.org.
isc.org. 1H IN NS ns-ext.sth1.isc.org.
;; Total query time: 0 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Wed Jul 27 09:43:40 2005
;; MSG SIZE sent: 29 rcvd: 188
; <<>> DiG 8.3 <<>> aaaa www.isc.org +noadd
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40443
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 2
;; QUERY SECTION:
;; www.isc.org, type = AAAA, class = IN
;; ANSWER SECTION:
www.isc.org. 10M IN AAAA 2001:4f8:0:2::d
;; AUTHORITY SECTION:
isc.org. 1H IN NS ns-ext.isc.org.
isc.org. 1H IN NS ns-ext.lga1.isc.org.
isc.org. 1H IN NS ns-ext.nrt1.isc.org.
isc.org. 1H IN NS ns-ext.sth1.isc.org.
;; Total query time: 0 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Wed Jul 27 09:43:52 2005
;; MSG SIZE sent: 29 rcvd: 200
> <http://www.singlefin.net/> <http://www.singlefin.net/> Managed Protectio
> n Services
>
>
> Karl Rink
> Singlefin
> 2527 Manchester Avenue <http://maps.yahoo.com/maps_result?ed=x4OX0ep_0Tr7vyxX
> 1xVwL4cndLNaNaQRZ4Y1UlYjyQ--&csz=Cardiff+by+the+Sea%2C+CA+92007&country=us>
> Cardiff by the Sea, CA 92007
> USA
>
> Email: krink at singlefin.net
> Web: www.singlefin.net <http://www.singlefin.net/>
> MSN IM: krink at singlefin.net
> AIM: krinkSF
> Yahoo! IM: krinksinglefin
> toll free: (866) 566-3346 x305
> office: (760) 230-2052 x305
> mobile: (619) 850-3430
> fax: (619) 374-7227
>
>
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list