A and AAAA lookup

Short answer

What is an A record in DNS?

An A record is the DNS record that links a name to an IPv4 address, for example that company.com points to 192.0.2.10. The AAAA record does the same for IPv6, like 2001:db8::10. Browsers and other services look up these records to find the server. You change them at the DNS provider when the website moves.

Enter the domain or host name.

A and AAAA

The A record points to an IPv4 address and AAAA to an IPv6 address. Both can have several answers.

How to use the tool

Enter a domain or host name, like company.com or www.company.com. You get the A and AAAA records, how long the answer is cached (TTL), and who owns the IP addresses. The owner often shows which hosting company or cloud service the website is on.

Check both the domain and the www name. They often point to different places, and one may be forgotten after a move.

Example

In DNS the records look like this: company.com. 3600 IN A 192.0.2.10 and company.com. 3600 IN AAAA 2001:db8::10. The number 3600 is the TTL in seconds, that is one hour.

The domain itself (without www) cannot be a CNAME under the DNS standard. Many providers therefore offer ALIAS, ANAME or CNAME flattening, which gives A records to the outside world.

Questions and answers

Why do I get a CNAME?

The name is an alias. We follow it and show the addresses it points to.

Why do I get several IP addresses?

Large services and CDNs like Cloudflare use several addresses to spread the traffic and tolerate failures. That is normal.

Do I need an AAAA record?

Not required, but more and more users have IPv6. Only add it if the server actually answers on IPv6, otherwise the website becomes slow or unreachable for them.

Does the A record affect email?

Only indirectly. Email goes to the servers in the MX records, but the MX names must themselves have A or AAAA records.