Alviy

An AAAA record (pronounced "quad-A") is a type of record in DNS that maps a domain name to an IPv6 address. In purpose it is identical to the A record, but instead of the 32-bit IPv4 it stores a 128-bit IPv6 address, for example 2001:0db8:85a3::8a2e:0370:7334.

Why an AAAA record is needed

As IPv4 addresses run out, more and more services are becoming available over IPv6. For a domain to open for users whose providers already hand out IPv6, it must have an AAAA record. When a browser resolves a name, it asks the DNS server for both types of records at once — A and AAAA — and picks an address depending on which protocol is available. Exactly how this happens is described in the article How a browser works.

A and AAAA together

In practice a domain usually has both records at the same time:

  • Dual stack — an A record for clients on IPv4 and an AAAA record for clients on IPv6.
  • Same TTL — the records' time to live is set the same way as for the other types in the zone.
  • Unified logic — AAAA takes part in the same scenarios as A: subdomains, load balancing, and Dynamic DNS.

This way a single domain serves both old and new networks without changing the address for the user.

DNS AAAA record with an IPv6 address
Check the domain's records

How to do it in practice: DNS records explained: A, AAAA, CNAME, MX, TXT, NS

All terms