A Record

An A record maps a hostname to an IPv4 address. It is the most common DNS record used to point websites and APIs to servers, CDNs, or load balancers. If a site is down or pointing to the wrong system, the A record is the first place to check.

What an A record does

When a resolver looks up example.com, it returns the IPv4 address from the A record. The apex and www can be configured differently, so verify both if you expect them to match. For IPv6, you also need an AAAA record and the corresponding IPv6 address.

Common mistakes

  • Missing www record while the apex points correctly.
  • Stale IP address after a migration.
  • Pointing directly to an origin when a CDN should be used.
  • High TTL during changes, slowing propagation.

How to check an A record online

Use the A record lookup tool to query multiple resolvers and compare results. If you suspect propagation issues, run a DNS propagation check and compare with the authoritative name servers listed in the NS record guide.

Practical examples

  • example.com → 93.184.216.34
  • api.example.com → 198.51.100.12 (API endpoint)

Related records

A records often work alongside CNAME for aliases, AAAA for IPv6, and PTR for reverse DNS.