AAAA records
An AAAA record is a DNS record that maps a domain or hostname to a specific IPv6 address. It works in a similar way to an A record for IPv4, but instead of the older four-part address format, it uses the newer IPv6 format. So if a domain or service is meant to work over IPv6, the AAAA record is what tells the internet which address it should connect to.
At first glance, an AAAA record can seem like a narrow technical detail that only matters in more modern network environments.
In reality, it is an important part of the internet’s transition to IPv6. As soon as a server, application or online service supports IPv6, that information is normally published in DNS through an AAAA record.
What an AAAA record actually does in practice
When someone opens a website, or when an application connects to a service, the device first needs to learn which network address it should actually send the request to.
If the target server is available over IPv6, DNS can return an AAAA record. That record contains the exact IPv6 address the client should use.
This means the AAAA record itself does not “run the website” or “start the server”. It is a routing record in DNS that tells the internet which IPv6 address belongs to the given name.
Why it is called AAAA
The name AAAA often feels confusing because it does not sound intuitive at first.
The reason is historical. An A record is used for IPv4 addresses. The AAAA record was introduced as its equivalent for IPv6, which uses a much larger address space. In practical terms, though, the important point is not the name itself. The important point is that AAAA does not mean a “better A record”. It means a different DNS record type for a different kind of IP address.
What an AAAA record looks like
While an A record points to an IPv4 address such as 192.0.2.1, an AAAA record points to an IPv6 address, for example:
2001:db8::1
This is where the difference is easiest to see. IPv6 addresses are longer, written in hexadecimal form and use colons instead of dots. So the AAAA record is not different in what it fundamentally does. It is different in the type of address it publishes.
What is the difference between an A record and an AAAA record?
The core difference is simple.
- A record maps a name to an IPv4 address.
- AAAA record maps a name to an IPv6 address.
So both record types solve the same kind of task – translating a name into a network address – but each one does it for a different version of the Internet Protocol.
In practice, both records can exist on the same domain at the same time. That is common with services that should be reachable over both IPv4 and IPv6. The client or network environment then uses the version that is available and appropriate in that situation.
Why a domain can have both an A record and an AAAA record at the same time
This is a normal and correct setup in many real environments.
If a server is meant to support both protocols, DNS can publish both an A record and an AAAA record. That allows older environments to continue using IPv4, while newer or IPv6-capable environments can use IPv6.
This is not a conflict. On the contrary, it is one of the standard ways to make a service available to the widest possible range of users and networks.
That is also one of the ways in which AAAA differs from records such as CNAME, which follow a different logic and different usage rules.
Why an AAAA record does not automatically mean everything will work over IPv6
The mere presence of an AAAA record does not automatically mean the service will work correctly over IPv6.
For that to be true, the server itself, the network path, the firewall and the actual service all need to be ready for IPv6 as well. If an IPv6 address is published in DNS but the server does not respond properly on that address, the result can be availability problems or unnecessary connection delays.
That is why an AAAA record should not be added only “just in case”. It makes sense when IPv6 is genuinely ready at the infrastructure level too.
Where AAAA records are used most often
AAAA records are used wherever a service should be available over IPv6.
Typical examples include:
- web servers,
- API services,
- application servers,
- mail infrastructure,
- cloud platforms and modern hosting environments.
In some setups, the AAAA record is a routine part of standard DNS configuration. In others, administrators only encounter it when they start dealing with IPv6 connectivity, dual-stack operation or network audits.
How an AAAA record relates to a hostname
Like other address-type DNS records, an AAAA record is always tied to a specific name – in other words, to a domain or hostname.
That means an AAAA record does not belong to a server “in general”. It belongs to a specific name. For example, www.example.com may have one AAAA record, while api.example.com may have another. This is how DNS distinguishes which service should lead to which technical destination.
So the user usually does not deal directly with the IPv6 address itself. They work with the hostname, and DNS decides whether there is an A record, an AAAA record or both.
How an AAAA record relates to nameservers
The AAAA record is stored on the authoritative nameservers of the domain, just like other DNS records.
That is where DNS resolvers look it up before returning the answer to users or applications. So when an AAAA record changes, the new value does not become visible everywhere immediately. Like other DNS changes, it appears gradually as caches expire and resolvers fetch the new version.
What happens if an AAAA record is missing?
If a service has no AAAA record, that does not automatically mean it will not work at all. It means, however, that it will not be reachable over IPv6 through standard DNS resolution.
In many environments, that is not a critical problem as long as IPv4 is still available and there is an A record. But if the goal is full service reachability in networks that prefer or require IPv6, the absence of an AAAA record becomes relevant.
That is why AAAA is most important where the goal is proper modern network availability rather than only minimal fallback access.
Why this term is worth understanding even outside technical roles
The AAAA record is a good example of the fact that DNS is not only about one “internet address”. In reality, the same service can be published through more than one network path and more than one protocol version.
This matters even for website owners, hosting administrators and business operators who do not want to go deep into network engineering. Once you understand that A and AAAA records perform a similar role for different address families, it becomes much easier to understand why one service may be reachable in one way but not in another.
That is why the AAAA record is worth understanding outside purely technical roles as well. It is a small DNS detail on the surface, but an important part of how modern network availability actually works.
Related terms
- DNS – the AAAA record is one type of DNS record, and its role only makes full sense in the wider context of DNS.
- IPv6 – AAAA is specifically designed for IPv6 addresses, so the meaning of the record is closely tied to IPv6 itself.
- A record – the direct counterpart to the AAAA record for IPv4 and the clearest comparison for understanding the difference between the two address families.
- IP address – the AAAA record translates a name into a specific IPv6 address, which is one form of IP address used in networking.
- Hostname – the AAAA record belongs to a specific hostname or domain and defines which IPv6 address belongs to it.
- Nameservers – AAAA records are stored on authoritative nameservers and served from there to the rest of the internet.
Was this article helpful?
Support us to keep up the good work and to provide you even better content. Your donations will be used to help students get access to quality content for free and pay our contributors’ salaries, who work hard to create this website content! Thank you for all your support!
Reaction to comment: Cancel reply