Free auditStart free
GlossaryGlossary · Technical SEO

A record (DNS address record)

An A record maps a domain name to an IPv4 address. See the record format, A vs AAAA vs CNAME, TTL, and how to check yours from the command line.

3 min
read
3
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
In one line

An A record is a DNS record that maps a domain name to an IPv4 address. RFC 1035 defines type A as "a host address" holding a 32 bit Internet address. When someone visits your domain, DNS returns the A record's IP address, and the browser connects to that server.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What an A record does

DNS turns names into addresses. An A record is the entry that says "this name lives at this IPv4 address." RFC 1035 lists the type as "A 1 a host address" and the data as "A 32 bit Internet address", written as four decimal numbers separated by dots, such as 192.0.5.6.

Cloudflare's DNS docs summarize A and AAAA records as records that map a domain name to one or multiple IPv4 or IPv6 addresses. RFC 1035 says hosts that have multiple Internet addresses will have multiple A records.

02At a glance

The fields in a record

Field

Name

Meaning
The host the record answers for. The root domain is often shown as @
Example
@ or www
Field

Type

Meaning
The record type
Example
A
Field

Value

Meaning
The IPv4 address
Example
192.0.2.1
Field

TTL

Meaning
How long resolvers may cache the answer. RFC 1035: the time interval the record "may be cached before the source of the information should again be consulted", with zero meaning do not cache
Example
3600 (seconds)
Zone file lines (192.0.2.1 is the example address Route 53 uses)
example.com.     3600  IN  A     192.0.2.1
www.example.com. 3600  IN  CNAME example.com.
04How it works

Check and change it

  1. 01

    Look it up

    Run dig +short example.com A or nslookup -type=A example.com. The output is the IP address resolvers return.

  2. 02

    Compare with your host

    The IP should match the one your host or CDN tells you to use.

  3. 03

    Edit at the DNS provider

    Change the record where your nameservers are hosted, which may not be your registrar. Edits take effect as cached copies expire, so lower the TTL before a planned move.

  4. 04

    Test over [HTTPS](/glossary/https)

    After the change, load the site and confirm the certificate matches the domain.

05Explained

Why site owners care

A wrong or stale A record sends visitors and crawlers to the wrong server or nowhere. If a web crawler can't resolve your domain, it can't fetch pages. Moving hosts, changing CDNs and choosing www or non-www all involve A records, so check them first when a site suddenly stops loading.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • amazon.com
  • cloudflare.com
  1. 01RFC 1035: Domain names - implementation and specificationrfc-editor.org · checked 2026-10-25
  2. 02Supported DNS record types - Amazon Route 53 Developer Guidedocs.aws.amazon.com · checked 2026-10-25
  3. 03DNS record types - Cloudflare DNS docsdevelopers.cloudflare.com · checked 2026-10-25
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01How do I create an A record in DNS?

In your DNS provider's dashboard, add a record with type A, the host name (or @ for the root), the IPv4 address and a TTL, then save.

02What is the difference between an A record and a CNAME?

An A record points a name to an IP address. A CNAME points a name to another name, and cannot be used at the zone apex.

03What does TTL mean on an A record?

It is how long resolvers may cache the answer before asking again. Cloudflare says proxied records default to Auto, which is 300 seconds. Lower a longer TTL before a migration so changes spread faster.

04Can a domain have more than one A record?

Yes. RFC 1035 says hosts with multiple Internet addresses have multiple A records, and Cloudflare's docs say A and AAAA records can map a name to one or multiple addresses.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly