Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

A record

Direct answer

An A record maps a DNS name to an IPv4 address; resolvers return it for queries of type A.

When to use this

Use it when a name resolves to the wrong IPv4 address or not at all.

First 30 seconds

1. An A record maps a name to an IPv4 address.

2. Multiple A records give round-robin.

3. TTL controls caching.

4. Check authoritative vs cached answers.

5. Keep PTR aligned.

Operational verification

query A → resolver → authoritative → IPv4 address

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Scope / prerequisiteUse it when a name resolves to the wrong IPv4 address or not at all.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification & troubleshooting Narrow the fault

1. Record queried name/type and resolver.

2. Test reachability and UDP/TCP 53.

3. Query the recursive resolver.

4. Trace delegation/authority when needed.

Step 2 Common A record problems Narrow the fault
  • Old address cached because TTL was high when the change was made.
  • Split-horizon DNS returning internal and external addresses inconsistently.
  • Missing record in one of several authoritative servers.
  • Typos in zone files (missing trailing dot → name relative to the zone).
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • A/AAAA map names to IPv4/IPv6; CNAME aliases one name; PTR is reverse lookup
  • Recursive and authoritative roles answer different questions
  • UDP 53 is common, while TCP 53 is required for some large replies and zone operations
  • NXDOMAIN, NODATA, SERVFAIL and timeout indicate different boundaries; TTL controls cache lifetime.
Key checks
  • dig <name> A +short — IPv4 address
  • nslookup -type=A <name> — Windows/any
ReferenceWhat it is1 section · depth on demand

Examples

www.example.com.   3600  IN  A  192.0.2.10
dig www.example.com A +short
Resolve-DnsName www.example.com -Type A

Several A records for one name give simple round-robin load distribution. Lower the TTL in advance of planned address changes.

ReferenceWhy it matters1 section · depth on demand

What it is

An A record maps a name to an IPv4 address. A name can have several A records (round-robin), and each record has a TTL that controls how long resolvers cache it. Lower the TTL a day before a planned change so clients pick up the new address quickly.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

A records

An A record maps a name to an IPv4 address. RFC 1034 defines the A type as a host address, with a 32-bit IP address as its data in the Internet class, and explains that a resolver's host-name-to-address function is implemented as a query for A records.

Format

www.example.net.    300   IN   A   192.0.2.80
FieldMeaning
Owner namewww.example.net.
TTL300 seconds of caching
ClassIN (Internet)
TypeA
Data192.0.2.80

Several A records

UseBehaviour
Several addresses for one nameAll returned; clients usually try them in order
Simple load distributionServers rotate the order (round robin)
No health checkingA failed server stays in the answer until removed
host$ dig +short www.example.net A
192.0.2.80
192.0.2.81
host$ nslookup www.example.net 10.20.0.53
Name:    www.example.net
Addresses:  192.0.2.80
          192.0.2.81
R1# ping www.example.net
Translating "www.example.net"...domain server (10.20.0.53) [OK]

Related records

RecordRelation
AAAAIPv6 equivalent
PTRReverse mapping from address to name (in-addr.arpa)
CNAMEAlias pointing to a name that has A records
NS glueA records for name servers inside their own zone

Operational points

PointReason
Lower the TTL before a planned changeFaster switchover
Keep forward and reverse records consistentLogging, mail and some authentication checks rely on it
Use private addresses only in internal viewsPublic resolvers shouldn't return RFC 1918 addresses

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

An A record maps a host name to an IPv4 address and is the most common DNS record. The TTL on the record controls how long resolvers may cache it, which directly affects how quickly a change takes effect. Lowering the TTL a day before a planned IP change is a simple way to make the cut-over fast.

A records map names to IPv4 addresses.

web01   IN A 10.0.20.15
app     300 IN A 10.0.20.16        ; TTL 300 s

dig +short app.example.com A
nslookup app.example.com 10.0.0.53

Multiple A records for one name give simple round-robin load distribution (no health checking). Lower TTLs before planned changes so caches expire quickly.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1034

Authoritative/upstream documentation reviewed for bounded claims in IP Services → DNS → A record. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1034.html · confidence 94%
Confirmation

Confirm action

Continue?