mail us  |  mail this page

contact us
training  | 
company  | 
tech stuff  | 

IPv6 Address Record (AAAA)

The current IETF recommendation is to use AAAA (Quad A) RR for forward mapping and PTR RRs for reverse mapping when defining IPv6 networks. The IPv6 AAAA RR is defined in RFC 3596. RFC 6563 plunged the dagger into the heart of the short-lived and ill-fated A6 RR by moving it to historical status. Tech Info - IPv6. IPv6 Reverse Mapping is defined in Chapter 3.

Syntax of AAAA RR

name  ttl  class   rr     ipv6
joe        IN      A      2001:db8::1

If multiple addresses are defined with the same name then BIND will respond to queries with a list of the addresses but the order may change on sucessive queries depending on the value of the rrset-order statement in BIND's named.conf file. The default order is cyclic or round-robin. The same IP may be defined with different names. IP addresses do not have to be in the same subnet or use the same global routing prefix. The order in which AAAA RRs are defined is not significant but it may be easier to define them in either an ascending or descending order of IP address since this can prevent unintentional duplicate definitions. Since the ipv6 field is an address not a name there is no terminating dot. The following zone file fragment illustrates various uses of the AAAA RR.

; zone fragment for
$TTL 2d ; zone default = 2 days or 172800 seconds
joe        IN      AAAA      2001:db8::3  ; joe & www = same ip
www        IN      AAAA      2001:db8::3
; functionally the same as the record above   AAAA      2001:db8::3
fred  3600 IN      AAAA      2001:db8::4  ; ttl =3600 overrides $TTL default
ftp        IN      AAAA      2001:db8::5 ; round robin with next
           IN      AAAA      2001:db8::6
mail       IN      AAAA      2001:db8::7  ; mail = round robin
mail       IN      AAAA      2001:db8::32
mail       IN      AAAA      2001:db8::33
squat      IN      AAAA      2001:db8:0:0:1::13  ; address in another subnet

IPv6 and IPv4 RRs can be freely mixed in the zone file as shown the following fragment:

; zone fragment for
$TTL 2d ; zone default = 2 days or 172800 seconds

www        IN      A
mail       IN      A
www        IN      AAAA   2001:db8::3
mail       IN      AAAA   2001:db8::32

Blank name substitution can also be used in mixed configurations if this is more convenient or understandable:

; zone fragment for
$TTL 2d ; zone default = 2 days or 172800 seconds
www        IN      A
           IN      AAAA   2001:db8::3
mail       IN      A
           IN      AAAA   2001:db8::32

In both above fragments it is assumed that the hosts are running dual (IPv4/IPv6) IP stacks.

Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.

Pro DNS and BIND by Ron Aitchison


tech info
guides home
dns articles
1 objectives
big picture
2 concepts
3 reverse map
4 dns types
5 install bind
6 samples
7 named.conf
8 zone records
9 howtos
10 tools
11 trouble
12 bind api's
13 dns security
bits & bytes
15 messages
notes & tips
registration FAQ
dns resources
dns rfc's
change log

Creative Commons License
This work is licensed under a Creative Commons License.

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Firefox




share page via facebook tweet this page


email us Send to a friend feature print this page Decrease font size Increase font size Display full width page



Debian Linux


GNU-Free SW Foundation


Open Source Initiative
Creative Commons


Ibiblio - Library
Open Book Project
Open Directory


CSS Technology SPF Record Conformant Domain
Copyright © 1994 - 2015 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by
web-master at zytrax
Page modified: October 21 2015.