Product
Docs
Resources
Log In

DNS A & AAAA Record Lookup

What is an A Record & What is it Used For?

An A record is found in a DNS zone configuration and is used to map a domain name to an IP address.

A Record Format

The A record always points to an IPv4 address. A sample A record is illustrated below.

1 2 Domain TTL Record IP Address foo.com 14440 IN A 192.0.2.1

The record above illustrates that the domain foo.com points to the IP address 192.0.2.1. Additionally, every A record has a TTL. The above example indicates that the IP address is cached for 14440 seconds (240 minutes by default). So, it can take up to 240 minutes for your IP address to get updated.

What is an AAAA Record & What is it Used For?

An AAAA record serves the same purpose as an A record. It maps a given domain name to an IP address. However, the IP address in question is an IPv6 address.

AAAA Record Format

The AAAA Record resolves an IP address for a given domain name. An AAAA Record is used if your server has an IPv6 IP address rather than an IPv4. A sample AAAA record is illustrated below.

1 2 Domain TTL Record IP Address foo.com 14440 IN A 2001:0db8:85a3:0000:0000:8a2e:0370:7334

The snippet above denotes a sample AAAA record. As observed, it contains the domain name that maps to an IP address with a default caching TTL period of 14440. But, the main difference is that an AAAA record maps the domain to an IPv6 address.

A Record vs AAAA Record - Understand The Difference

Essentially, both these two records perform the same operation. Both maps resolve a domain name to an IP address. But the main difference between these two records is:

  • A Record: The A record always maps the domain name to an IPv4 address.
  • AAAA Record: The AAAA record is used when the server uses an IPv6 address, and the client is configured to use IPv6. So, if you need to map a domain to an IPv6 IP Address, use an AAAA record.

How to Perform A & AAAA Record Lookup Using this Tool

  1. Provide the domain name for which you wish to find the A or AAAA records.
  2. Submit the request.
  3. If the tool finds the A or AAAA records for the given domain, it will display the record. Else, it will display a message indicating that it failed to find it.

FAQs

Are A & AAAA records required in DNS?

Yes, either an A or an AAAA record is mandatory. Without an A or AAAA record, the DNS resolver will not be able to resolve your domain name to an IP server (so the client (browser) will not know which server your domain gets data from).

Is it better to use an A or AAAA record?

It always depends on the IP address offered by your server. You will need an AAAA record if your server is configured to use an IPv6 address. However, if your domain is resolving to an IPv4 address, use an A record.

Try Our Other Free Tools

(view all free tools)

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Email & push notification

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Email & push notification

Product

Pricing

Providers

Developers

Documentation

API

Libraries

Status

© 2022 Courier. All rights reserved.