What is an AAAA record and how do you set it up?
Published on June 19, 2026 7 min read
An AAAA record links your domain to an IPv6 address. Learn what an AAAA record is, how to set one up, and how to check that it works.
An AAAA record is the DNS setting that links your domain or subdomain to an IPv6 address. It works just like an A record, but for the newer IPv6 protocol instead of IPv4. This page explains what an AAAA record is, what an IPv6 address looks like, how to set one up yourself, and how to check that it works.
What is an AAAA record?
An AAAA record (pronounced quad-A, as in four times the letter A) is a type of DNS record that maps a hostname to an IPv6 address. Every record type in the Domain Name System has its own job: an A record points to an IPv4 address, while an AAAA record points to an IPv6 address.
The name refers to the length of the address. An IPv4 address is 32 bits long, while an IPv6 address is 128 bits, exactly four times as long. That is where the four A's come from. The AAAA record is defined in RFC 3596 and has the official number 28 in the list of DNS record types.
Without an AAAA record, your domain is only reachable over IPv4. With an AAAA record, visitors and devices that use IPv6 can reach your server directly over IPv6.
AAAA record versus A record
The A record and the AAAA record do the same job for a different internet protocol. The table below lists the differences.
| Characteristic | A record | AAAA record |
|---|---|---|
| Protocol | IPv4 | IPv6 |
| Address length | 32 bits | 128 bits |
| Example address | 192.0.2.10 | 2001:db8::1 |
| Notation | four numbers with dots | eight groups of four hexadecimal digits, separated by colons |
| Record type (IANA) | 1 | 28 |
| Defined in | RFC 1035 | RFC 3596 |
Both records can exist at the same time for the same domain. This is called a dual-stack setup: your domain then has an A record for IPv4 and an AAAA record for IPv6. Devices that support IPv6 usually use the AAAA record, while devices with IPv4 only use the A record. That keeps your site reachable for everyone.
What does an IPv6 address look like?
An IPv6 address consists of eight groups of four hexadecimal digits (0 to 9 and a to f). The groups are separated by colons. A full address looks like this, for example:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
You may write such an address more briefly with two rules:
- Leading zeros in a group can be dropped. So 0db8 becomes db8 and 0000 becomes 0.
- A single run of consecutive groups that are all zero can be replaced with a double colon (::). You may do this only once per address.
With those rules, the address above becomes shorter:
2001:db8:85a3::8a2e:370:7334
Both notations point to exactly the same address. In your AAAA record you can use the short or the long form.
When do you need an AAAA record?
You need an AAAA record as soon as your server or hosting plan has an IPv6 address and you want visitors to be able to reach your domain over IPv6 as well. IPv6 has been on the rise for years. In March 2026, more than half of all traffic to Google traveled over IPv6 for the first time, and that share keeps growing.
A few common situations:
- You host a website and want IPv6 users to be able to open it quickly too.
- You are moving to a new server that has both an IPv4 and an IPv6 address.
- You manage a mail server or another system that needs to be reachable over IPv6.
If your server only has an IPv4 address, an A record is enough and you do not add an AAAA record. An AAAA record that points to an IPv6 address that does not work can actually cause delays or errors for IPv6 users. So only add an AAAA record when your server really responds on that IPv6 address.
How to set up an AAAA record
You set up an AAAA record in the DNS settings of your domain. At LJPc hosting you manage these records in the DNS management area for your domain. The steps are similar in most DNS management screens:
- First, find the IPv6 address of your server or hosting plan. If you cannot find it in your control panel, ask your hosting provider for it.
- Log in to the DNS management area and open the DNS zone of the domain you want to configure.
- Create a new record and choose AAAA as the type.
- In the name (or host) field, enter which part of the domain the record applies to. Use @ for the main domain itself, or for example www or a subdomain.
- In the value (or content) field, enter the full IPv6 address.
- Set a TTL, for example 3600 seconds (one hour). The TTL controls how long DNS servers remember the answer.
- Save the record.
If you want your domain to be reachable over both IPv4 and IPv6, add an A record with the IPv4 address alongside the AAAA record. Make sure both records use the same hostname (the Name field), so they both point to the same server.
How to check an AAAA record
After saving, you can check whether your AAAA record is visible. Keep in mind that a change is not always visible everywhere right away. A new or updated record is usually active within a few minutes to a few hours, and occasionally it takes up to 48 hours.
On macOS and Linux, use the dig command:
dig AAAA example.com +short
On Windows, use nslookup:
nslookup -type=AAAA example.com
You will then see the IPv6 address the domain points to. Would rather not use the command line? Online DNS tools can show the AAAA records of a domain as well.
Common problems
| Problem | Possible cause | Solution |
|---|---|---|
| The AAAA record is not visible yet | The TTL or DNS propagation is still in progress | Wait until the old TTL has expired, which can take up to 48 hours, then check again. |
| IPv6 visitors get a slow connection or an error | The AAAA record points to an IPv6 address that does not respond | Check that your server is really reachable on that IPv6 address, or remove the AAAA record until it is correct. |
| The record is rejected or saved as invalid | The field contains an IPv4 address or a typo | Enter a valid IPv6 address with colons, not an IPv4 address with dots. |
| Only IPv6 works, not IPv4, or the other way around | Only one of the two records is set | Add both an A record and an AAAA record for full reachability. |
With a correct AAAA record, you make your domain ready for IPv6 alongside the existing IPv4. Still stuck? Get in touch with support and we will help you further.
Frequently asked questions
What is the difference between an A record and an AAAA record?
An A record links your domain to an IPv4 address, such as 192.0.2.10. An AAAA record links your domain to an IPv6 address, such as 2001:db8::1. Otherwise they work the same way: both translate a name into the address of a server.
Do I need an AAAA record?
Only if your server or hosting plan has an IPv6 address and you want visitors to reach your domain over IPv6 as well. If your server only has IPv4, an A record is enough. Do not add an AAAA record that points to an IPv6 address that does not work, because that can actually cause delays or errors for IPv6 users.
Why is it called an AAAA record?
The name comes from the length of the address. An IPv6 address is 128 bits, four times as long as a 32-bit IPv4 address. Those four A's gave the AAAA record its name, also known as a quad-A record.
Can I use an A record and an AAAA record at the same time?
Yes, and it is even recommended. Your domain then has an A record for IPv4 and an AAAA record for IPv6, a so-called dual-stack setup. Devices automatically choose the address that matches their connection, so your site stays reachable for everyone.
How long does it take for an AAAA record to work?
A new or changed AAAA record is usually active within a few minutes to a few hours. Because of the TTL and DNS propagation, it can in some cases take up to 48 hours before the change is visible everywhere.
How do I check my AAAA record?
On macOS or Linux, use the command dig AAAA example.com. On Windows, use nslookup -type=AAAA example.com. You will then see the IPv6 address your domain points to. Online DNS tools can show the same information.