Short answer
An AAAA record maps a domain name to a single IPv6 address. RFC 3596 defines that record, gives it type number 28, and keeps the older A record for IPv4. A host with two IPv6 addresses needs two AAAA records. The query transport can be IPv4 even when the answer is IPv6.
Last verified against the sources listed below.
Key takeaways
- RFC 3596 says the AAAA type stores one IPv6 address and that IANA assigned type 28.
- The address is 128 bits in network byte order. The text form is the usual IPv6 notation.
- An AAAA query returns the matching records and does not add extra section processing.
- Cloudflare says A is the IPv4 content and AAAA is the IPv6 content for the same kind of name mapping.
- A proxied A or AAAA on Cloudflare defaults the TTL to Auto, which that page sets at 300 seconds.
- Reverse IPv6 lookups use the IP6.ARPA domain, with the address nibbles written in reverse.
A direct answer to what is an AAAA record is a DNS line that stores an IPv6 address. RFC 3596, published in October 2003, defines that record so the Domain Name System can hold IPv6 addresses without breaking the older IPv4 record. The introduction says applications had assumed address queries return 32-bit IPv4 addresses only.
MDN’s DNS glossary describes the system around that line. DNS maps human-readable names, such as mozilla.org, to numeric addresses, such as 192.0.2.172 in MDN’s example, and a reverse lookup maps an address back to a name. An AAAA record is the forward map for IPv6.
What is an AAAA record?
An AAAA record stores one IPv6 address for a domain name in the Internet class.
RFC 3596 section 2.1 says the type is specific to that class and stores a single address. The IANA-assigned type number is 28 decimal. IANA’s DNS parameters registry lists the same row: AAAA, type 28, “IP6 Address,” reference RFC 3596.
The RFC obsoletes RFC 1886 and RFC 3152. The change it highlights from those earlier documents is the reverse-lookup domain IP6.ARPA, replacing IP6.INT.
A host with more than one IPv6 address must have more than one AAAA record. You do not pack two addresses into one line. An AAAA query for a name, in the Internet class, returns all of the associated AAAA records in the answer section. The RFC says that query does not trigger additional section processing.
The address itself is 128 bits in the record data, network byte order, high byte first. The text you type in a zone file is the textual IPv6 address. The RFC points that text form at the IPv6 addressing spec rather than inventing a second spelling.
How is the address stored?
The record data is 128 bits, and the text you publish is a normal IPv6 address.
Network byte order means the high-order byte is first. You rarely type those bytes. You type the colon form, and the server encodes it.
Because each record holds one address, two addresses means two records with the same name and type. Resolvers can receive both in one answer.
The transport you use to ask the question is independent of the address family in the answer. RFC 3596 says IPv4 can carry a query for IPv6 records, and the reverse is also true. Publishing an AAAA record does not require the recursive resolver to speak IPv6 to your authoritative server. It does require that something will accept an IPv6 connection if a client tries the address you published.
The reverse tree is separate. Section 2.5 roots it at IP6.ARPA. Each nibble of the address becomes a label, low nibble first, then the suffix .IP6.ARPA.
The RFC walks through 4321:0:1:2:3:4:567:89ab as the worked example. That name is how you look up a hostname from an address. The forward AAAA content stays the address, not that reversed name.
How is an A record different?
An A record maps the name to IPv4. An AAAA record maps it to IPv6. Cloudflare treats them as the same kind of row with a different address family.
Cloudflare’s DNS record types, updated 15 October 2026, say A and AAAA records map a domain name to one or more IPv4 or IPv6 addresses. The API note is explicit: content is an IPv4 address for type A and an IPv6 address for type AAAA.
On Cloudflare, at least one of these IP-resolution records is required for each domain, and they are the only types you can proxy.
| A | AAAA | |
|---|---|---|
| Address family | IPv4 | IPv6 |
| What one record stores | One IPv4 address | One IPv6 address, 128 bits |
| Type number in the registries cited here | Not restated on the Cloudflare page | 28, in RFC 3596 and the IANA table |
| Cloudflare content example | 192.0.2.1 in the API sample | fe80::0:0:1 stored as fe80::1 |
| Proxy | Can be proxied | Can be proxied |
| Reverse lookup named in RFC 3596 | The RFC keeps existing IPv4 support | IP6.ARPA |
The Cloudflare page also says shorthand IPv4 such as 1.1 for 1.0.0.1 is not supported on A records. IPv6 text is stored in canonical form, so fe80::0:0:1 comes back as fe80::1. Those are spelling rules for the panel and the API. They do not change the type number.
What does the TTL field do there?
TTL is how long a resolver may cache the answer. Cloudflare prints a default only for proxied records.
The same page says TTL controls how long resolvers cache a response before they revalidate. If the proxy status is Proxied, the TTL defaults to Auto, which is 300 seconds. If the status is DNS only, you can set the value.
This article does not turn 300 seconds into a recommendation for other DNS hosts. It is the default Cloudflare documents for a proxied A or AAAA record.
Other limits on that page are about the name and the record size, not about which address family is better. Each label is 63 characters or fewer. The fully qualified name does not exceed 253 characters.
Letters, digits, and hyphens are recommended when the name must also work as a hostname and in a TLS certificate. The page says DNS itself does not require that LDH shape. Each record’s wire format is at most 4,096 bytes, and the combined content of records that share a name and type must not exceed 8,192 characters.
The address you publish should be the origin you mean. The page says the IPv4 or IPv6 content cannot be a Cloudflare IP, and it points at a separate list for those addresses. Copying a Cloudflare IP into the content field is not how proxying works. Proxying is a status on the record.
Where does the name point after that?
The record makes the name resolve. The site at that address still needs its own pages and files.
Web hosting is where the server behind the address lives. An AAAA record is one step on the way there: the IPv6 address for the name. It does not install a certificate, and it does not design the homepage.
How the internet works is the longer path from a name to a connection. The record is only the address step on that path.
If that homepage needs a small icon, the Favicon Generator makes a favicon for the site the record points at. The icon is not DNS data. Publish the AAAA record when clients should be able to open the host over IPv6, and publish an A record as well when they should still be able to open it over IPv4.
RFC 3596’s reason for a new type was that the old one could not hold the longer address.
Frequently asked questions
Why is the type called AAAA?
RFC 3596 does not expand the letters into a phrase. It defines the type, assigns number 28, and says the record stores one IPv6 address in the Internet class. The older address record is type A, which the introduction says applications treated as a 32-bit IPv4 address. Four A letters mark the IPv6 address record. The IANA DNS parameters registry lists the same row: AAAA, 28, IP6 Address, RFC 3596.
Can one name have both A and AAAA?
Yes. RFC 3596 keeps the existing IPv4 support and adds the IPv6 record beside it. A name can publish an A record for an IPv4 address and one or more AAAA records for IPv6 addresses. A host with more than one IPv6 address must have more than one AAAA record, because each record stores a single address. Clients then choose which address to use. The DNS record does not rank them.
What is the IP6.ARPA example in the RFC?
Section 2.5 defines IP6.ARPA so you can look up a name from an IPv6 address. The nibbles of the address are written in reverse, separated by dots, then .IP6.ARPA. The RFC's example address 4321:0:1:2:3:4:567:89ab becomes a name that starts b.a.9.8.7.6.5.0 and ends in IP6.ARPA. That tree is for reverse lookup. It is not a second way to write the forward AAAA content.
How does Cloudflare store a compressed IPv6 address?
Cloudflare's DNS record types page says it stores AAAA content in canonical notation. The example on that page is fe80::0:0:1, which is stored and returned as fe80::1. The same note says shorthand IPv4 such as 1.1 for 1.0.0.1 is not accepted on A records. The content field is still one address. Compression in the text does not merge two addresses into one record.
What name-length limits does Cloudflare print?
The name is a subdomain or @ for the zone apex. Each label must be 63 characters or fewer, and the fully qualified name must not exceed 253 characters. Cloudflare recommends letters, digits, and hyphens so the name also works in hostnames and TLS certificates, and it says that advice is not a DNS protocol requirement. Underscores are valid in DNS. A separate note caps a record's wire format at 4,096 bytes.
Sources
- RFC 3596: DNS Extensions to Support IP Version 6 · RFC Editor, 2003
- DNS record types · Cloudflare, 2026
- DNS · MDN, 2026
- Domain Name System (DNS) Parameters · IANA, 2026