AAAA Records
- What’s an AAAA record?
- AAAA record format
- Formatting
- Querying AAAA records
- Manage AAAA records
An AAAA record maps a domain name name to lớn the IP address (Version 6) of the computer hosting the domain name. An AAAA record is used to lớn find the IP address of a computer connected to lớn the mạng internet from a name.
The AAAA record is conceptually similar to lớn the A record, but it allows you to lớn specify the IPv6 address of the server, rather than thở the IPv4.
AAAA records are less common than thở A records, however their popularity is rising along with the increased adoption of IPv6 addresses. For example, all the DNSimple name servers are assigned to lớn an IPv6 address and can be queried via either IPv4 or IPv6.
As with the A records, you can use multiple AAAA records for the same domain name in order to lớn provide redundancy. Multiple names could point to lớn the same address, in which case each would have its own AAAA record pointing to lớn that same IP address.
The DNS A record is specified by RFC 3596.
AAAA record format
The structure of an AAAA record follows the standard top-level format definition defined RFC 1035. The RDATA section is composed of one single element:
Element | Description |
---|---|
address | A 128 bit Internet address representing an IPv6 address |
Hosts that have multiple Internet addresses have multiple A records.
The canonical representation is:
AAAA
where is an IPv6 address and looks lượt thích
2400:cb00:2049:1::a29f:1804
.
In DNSimple, the AAAA record is represented by the following customizable elements:
Element | Description |
---|---|
Name | The host name for the record without the domain name name. This is generally referred to lớn as “subdomain”. We automatically append the domain name name. |
TTL | The time-to-live in seconds. This is the amount of time the record is allowed to lớn be cached by a resolver. |
Address | The IPv6 address the AAAA record points to lớn. |
Formatting
Because the same IPV6 address can be represented in different ways, DNSimple normalizes the IPV6 address to lớn the canonical sườn, as described in RFC 5952 section 4.
Some examples:
- If you provide the IPv6 address
2001:0000:0000:00FE:0000:0000:0000:CDEF
, we will store it as2001:0:0:fe::cdef
. - If you provide the IPv6 address
2001:0db8::0001:0000
, we will store it as2001:db8::1:0
. - If you provide the IPv6 address
2001:db8:0:0:0:0:2:1
, we will store it as2001:db8::2:1
. - If you provide the IPv6 address
::ffff:c000:0280
, we will store it as::ffff:192.0.2.128
.
Querying AAAA records
You can use dig
to lớn determine the AAAA record associated with a domain name name. The result is contained in the ANSWER
section. It contains the fully-qualified domain name name (FQDN), the remaining time-to-live (TTL), and the IP address.
$ dig AAAA ns1.dnsimple.com
; <<>> DiG 9.10.6 <<>> AAAA ns1.dnsimple.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52403
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ns1.dnsimple.com. IN AAAA
;; ANSWER SECTION:
ns1.dnsimple.com. 1795 IN AAAA 2400:cb00:2049:1::a29f:1804
;; Query time: 47 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Nov 02 19:20:40 CET 2018
;; MSG SIZE rcvd: 73
Manage AAAA records
From the DNSimple record editor you can add, remove, and update AAAA records.