A Record Explained: The DNS Record That Turns Names Into Addresses

Almost every other DNS record type exists to route toward, alias, or protect the thing an A record does directly: turn a name into an IPv4 address.

📅 Published July 2026· ⏳ 18 min read· ✍️ ToolsNovaHub Editorial Team
🛠️ Related tool: Open A Record Lookup →

The Record That Everything Else Points Toward

Strip DNS down to its essential job and it's this: turning names humans use into addresses machines route packets to. That job belongs to the A record. Every other record type in the DNS system either delegates authority toward eventually finding one (NS), aliases toward one indirectly (CNAME), or does something unrelated to hostname resolution entirely (TXT, MX). The A record is the one that actually terminates the chain with a usable IPv4 address a client can open a connection to.

This matters more than it might first appear, because it explains a lot of DNS behavior that otherwise seems arbitrary — why CNAMEs can't coexist with other records at the same name, why "the domain doesn't resolve" almost always traces back to a missing or broken A (or AAAA) record somewhere in the chain, and why this specific record type has stayed essentially unchanged since RFC 1035 defined it in 1987, even as dozens of other record types have been added around it.

ToolsNovaHub Pro Tip
When troubleshooting "why won't this domain load," check the A record before anything downstream — firewall rules, application errors, TLS certificates. If there's no valid A (or AAAA) record, none of those other layers ever get reached.
⚠️
Common Beginner Mistake
Pointing an A record at a hostname instead of an IP address. A records only accept IPv4 addresses in dotted-decimal form — for pointing at another hostname, a CNAME is the correct record type, not an A record.

Anatomy of an A Record

Structurally, an A record is about as simple as DNS gets: a name, a type (A), a TTL, and a value that must be a syntactically valid IPv4 address — four octets, each 0–255, separated by dots. There's no additional field, no priority, no weighting. Whatever complexity exists around A records lives entirely in how they're used and combined, not in the record format itself.

example.com.       3600  IN  A     93.184.216.34
www.example.com.   3600  IN  A     93.184.216.34
app.example.com.   300   IN  A     198.51.100.20

Notice that different names under the same domain can carry entirely different A records, with entirely different TTLs. There's no requirement that a subdomain share its parent's address or caching duration — each name's A record is an independent entry in the zone.

The Full Resolution Chain, Step by Step

Getting from a typed domain name to a returned A record answer involves more hops than most people picture. Here's the actual sequence for a query that isn't already cached anywhere along the path:

  1. Local stub resolver check. Your device first checks its own local cache — has it resolved this name recently?
  2. Recursive resolver query. If not cached locally, the query goes to a configured recursive resolver (your ISP's, or a public one like 8.8.8.8/1.1.1.1), which does the heavy lifting on your behalf.
  3. Root server query. The recursive resolver, if it has nothing cached, asks one of the 13 root server clusters: "who's authoritative for .com?"
  4. TLD server query. The root refers it to the .com TLD nameservers, which are asked: "who's authoritative for example.com?"
  5. Authoritative server query. The TLD refers it to example.com's actual authoritative nameservers, which are finally asked directly for the A record.
  6. Answer returned and cached. The authoritative server returns the IPv4 address and TTL. The recursive resolver caches it for that TTL and returns it to your device, which also caches it locally.

Every subsequent query for that name, from any client using that same recursive resolver, is answered from cache until the TTL expires — none of those root/TLD/authoritative hops repeat until then. This is why DNS, despite this apparently long chain, resolves in milliseconds for anything already warm in cache, and why a cold, uncached lookup can occasionally feel noticeably slower.

StageRoleCached Result Skips This?
Local device cacheFastest possible answer, no network round-tripN/A — this is the cache itself
Recursive resolverDoes the walking on the client's behalfSkips root/TLD/authoritative if cached
Root serversPoint toward the correct TLD serversSkipped entirely if resolver has TLD info cached
TLD serversPoint toward the domain's authoritative serversSkipped if resolver already knows the authoritative NS
Authoritative serversHold the actual A record and return itOnly reached on a genuinely cold lookup

A Record vs the Record Types People Confuse It With

A recurring source of confusion is treating A records as interchangeable with a handful of other record types that solve related but distinct problems.

RecordPoints ToKey Difference From A
AAAAAn IPv6 address, directlySame direct-address concept, different protocol version
CNAMEAnother hostnameIndirect — requires a further lookup to reach an address
ALIAS / ANAMEAnother hostname, resolved at the zone apexProvider-specific workaround letting a root domain "act like" a CNAME
PTRA hostname, from an IP (reverse direction)Answers the opposite question — IP to name, not name to IP

A Record vs AAAA: Two Protocol Versions, Same Job

An AAAA record does conceptually the same job as an A record — map a name directly to an address — but for IPv6 rather than IPv4. A domain can, and increasingly does, publish both simultaneously, letting a client choose based on its own network capability, a process called Happy Eyeballs in modern operating systems, where IPv6 is typically attempted with a slight preference and IPv4 used as fallback if IPv6 doesn't connect quickly.

AspectA Record (IPv4)AAAA Record (IPv6)
Address length32-bit, dotted-decimal128-bit, colon-hex notation
Universal supportSupported everywhere, no exceptionsSupported almost everywhere, but not universally guaranteed
Typical deployment todayStill the default fallback for compatibilityPublished alongside A wherever infrastructure supports it

Why A Records Point at IPs, Not Hostnames

This is a hard rule, not a stylistic convention: an A record's value must be a literal IPv4 address, never another hostname. If it were allowed to point at a hostname, resolving it would require yet another lookup — which is precisely what a CNAME already does. Keeping A records strictly address-only means a resolver can always be certain that reaching an A record answer terminates the chain immediately, with no further indirection needed, which keeps resolution predictable and avoids accidental resolution loops.

Deployment Contexts: Where A Records Actually Get Configured

The mechanics are identical everywhere, but the interface and surrounding tooling differ meaningfully by context:

  • Traditional web hosting: a single A record pointing the domain and often the www subdomain at a shared or dedicated server's static IP.
  • CDN-fronted sites: the apex domain's A record often points at the CDN provider's edge IP range rather than the origin server directly, with the CDN handling routing to the nearest edge node — sometimes via anycast, where the same published IP is actually announced from many physical locations.
  • Cloud DNS platforms (Route 53, Cloud DNS, Azure DNS): A records are managed the same way conceptually, but often alongside provider-specific alias record types that behave like a CNAME at the zone apex, which plain DNS otherwise disallows.
  • Home networking: a router's local DNS or hosts file may hold A-record-equivalent entries for devices on the local network, resolved entirely without touching the public DNS hierarchy at all.

Security Implications of A Record Configuration

Because an A record is the literal address a client connects to, its accuracy has direct security consequences. A stale A record pointing at a decommissioned IP that's since been reassigned to someone else by a cloud provider — a scenario known as subdomain takeover — can let an attacker claim that IP and serve content under a legitimate-looking hostname, including one that may still carry inherited trust from cookies, SSL pinning expectations, or brand reputation. Regularly auditing A records for hostnames pointing at infrastructure you no longer control is a real, underappreciated security practice, not a theoretical concern.

Performance: TTL as a Trade-off, Not Just a Setting

TTL on an A record is a direct trade-off between DNS query overhead and change-propagation speed. A very high TTL (86400s / 24 hours) minimizes repeated DNS queries and shaves a small amount of latency off subsequent connections, but means any change — including an emergency IP change — takes up to that long to reach everyone. A very low TTL (60–300s) makes changes propagate fast but increases the query volume hitting your authoritative nameservers and adds a marginal amount of recurring resolution overhead across the internet. Most production sites land somewhere in the 300–3600 second range as a practical middle ground, lowering it temporarily before a planned migration.

TTL ValueTrade-off
60–300sFast propagation, higher query volume on authoritative servers
3600s (1 hour)Reasonable balance for most production use
86400s (24 hours)Minimal query overhead, slow to update if something needs to change urgently

Common Mistakes and Best Practices

PracticeWhy It Matters
Never point an A record at a hostnameInvalid by specification — use CNAME instead for name-to-name aliasing
Audit A records after decommissioning infrastructurePrevents subdomain takeover from orphaned records pointing at reassignable IPs
Lower TTL ahead of planned migrationsFaster, more predictable propagation when the change actually happens
Publish AAAA alongside A where possibleSupports IPv6-only networks and future-proofs against IPv4 exhaustion pressure
Don't assume A record order is meaningfulMultiple A records for one name may be returned in any order by the resolver

Related Tools

Check any hostname's live A record with A Record Lookup. For the full record picture — AAAA, MX, TXT, NS, CNAME — use DNS Lookup. To see how a DNS change is propagating across resolvers, use DNS Propagation Checker, and to check the reverse direction, Reverse DNS Lookup. Ready to set one up yourself? See Configure A Record.

FAQ

Address. It's the original DNS record type from RFC 1035, and it maps a name directly to an IPv4 address.
No. A domain is a registered name; an A record is one DNS entry within that domain's zone pointing a specific hostname at an IPv4 address.
No. An A record's value must be a literal IPv4 address. To point at another hostname, use a CNAME record instead.
No hard limit at the protocol level. Multiple A records for the same name are common for load balancing or geo-distribution, each returned as a separate answer.
A records hold IPv4 addresses; AAAA records hold IPv6 addresses. Both do the same job — direct name-to-address mapping — for different protocol versions.
DNS specification disallows a CNAME coexisting with any other record type at the same exact name — a name must resolve one way or the other, not both.
The root server doesn't hold the A record itself — it refers the resolver to the correct TLD nameservers, which in turn refer it to the domain's authoritative servers.
No — only a genuinely cold lookup does. Cached answers at any stage (local, recursive resolver) skip the remaining hops entirely until the TTL expires.
Yes — a stale A record pointing at a decommissioned, reassignable IP can let an attacker claim that address and serve content under your hostname.
Commonly 300–3600 seconds as a balance between propagation speed and query overhead, lowered temporarily before any planned migration.
Yes — many CDNs publish A records pointing at anycast IP ranges, especially at the zone apex where a traditional CNAME isn't allowed.
A provider-specific record type that behaves like a CNAME but is allowed at a domain's root (apex), where standard DNS rules forbid a real CNAME.
Not directly — email routing is governed by MX records, not A records, though an MX record's hostname does still need its own A record to resolve to an IP.
Local caching — your device or network resolver may hold a cached answer with a different remaining TTL than what a public resolver returns right now.
Use the free A Record Lookup tool for an instant, no-signup live query against a public DNS resolver.
Reviewed by: ToolsNovaHub Editorial Team📅 Last updated: July 2026📜 Sourced from: RFC 1035 and standard DNS resolution behavior

ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.

📋 Related Tools & Guides Comparison

ResourceTypeLink
A Record LookupToolOpen Tool →
DNS LookupToolOpen Tool →
DNS Propagation CheckerToolOpen Tool →
What Is DNS Lookup?GuideRead Guide →
Try it yourself — 100% free
🚀 Open A Record Lookup

🔗 More Guides