Skip to the content
Start free

DNS records

DNS records are the settings behind your domain: each record says where one thing goes or what one thing proves, such as your website, your email or a proof that the domain is yours. They live with whoever runs your DNS, not on your website. If one is wrong, people, search crawlers and AI bots can all fail to reach you, even when the site itself is fine.

What are DNS records? #

A domain name is a label. DNS records turn that label into something a computer can use. One record points the name at an IP address. Another says which servers take your email. Others hold short text proofs. Every record has a name, a type, a value and a TTL. The core DNS standard, RFC 1035, defines the first record types in a few words each.

Which record types matter most? #

A handful of types do most of the work. The middle column quotes RFC 1035 where it defines the type; the others come from their own RFCs.

Type What the standard says Everyday use
A “a host address” (RFC 1035) points your domain at your website’s server (IPv4)
AAAA “stores a single IPv6 address” (RFC 3596) the same job for IPv6
CNAME “the canonical name for an alias” (RFC 1035) points one name, such as www, at another
MX “mail exchange” (RFC 1035) says which servers accept your email
TXT “text strings” (RFC 1035) holds SPF, DKIM and DMARC, and ownership proofs
NS “an authoritative name server” (RFC 1035) says who runs your DNS
SOA “marks the start of a zone of authority” (RFC 1035) housekeeping for the whole zone
CAA names the Certification Authorities allowed to issue certificates (RFC 8659) limits who can issue your SSL certificate

See the MX record entry for email routing in depth.

What is a TTL? #

RFC 1035 says the TTL is “the time interval (in seconds) that the resource record may be cached before it should be discarded”. A TTL of 3600 means other servers may keep your answer for an hour. A TTL of zero means the record should not be cached at all. So a change does not reach everyone at once. Before a planned move, lower the TTL a day ahead, then raise it again afterwards.

A search crawler such as Googlebot must look up your A or AAAA record before it can ask for a page. A wrong record sends it to the wrong server, or nowhere. Google says 5xx and 429 errors make its crawlers slow down, and that URLs which persistently return a server error are removed from the index. DNS also proves who you are: Google Search Console verifies a Domain property with a TXT or CNAME record. Google says: “To stay verified, don’t remove the DNS record from your provider, even after verification succeeds.”

Why do they matter for AI answers? #

An AI crawler and a live fetcher use the same DNS as everyone else. If your name does not resolve, an AI assistant asked about you right now cannot read your page, your llms.txt or your MCP address. It answers from older copies or from other sites. DNS also helps you check who is visiting. Google’s guide to verifying Googlebot uses a reverse DNS lookup on the address, then a forward lookup to confirm it. See reverse DNS bot check.

How do CNAMEs and aliases work? #

A CNAME says “this name is really that name”. RFC 2181 adds two rules. First, a name that has a CNAME holds no other ordinary records. Your bare domain already holds NS and SOA records, so it normally uses A or AAAA records rather than a CNAME. Second, the target of an MX or NS record “must not be an alias”: it must have its own address records. A subdomain such as shop.example.com is where a CNAME usually fits best.

What about a CDN in front of the site? #

With a CDN such as Cloudflare, some records are “proxied”. Cloudflare’s proxy status page says only A, AAAA and CNAME records can be proxied. A lookup of a proxied name returns Cloudflare’s anycast addresses, not your origin server. “Other record types (such as MX or TXT) are always DNS-only.” Cloudflare’s record types page adds that an A record must hold your origin’s address and “cannot be a Cloudflare IP”.

A worked example #

Here is a small set of records for a bakery’s domain, in the usual zone file layout: name, TTL in seconds, class, type and value. The addresses come from the ranges RFC 5737 keeps for documentation (192.0.2.0/24 is TEST-NET-1).

example.com.                3600  IN  A      192.0.2.10
www.example.com.            3600  IN  CNAME  example.com.
example.com.                3600  IN  MX     10 mail1.example.com.
example.com.                3600  IN  MX     20 mail2.example.com.
example.com.                3600  IN  TXT    "v=spf1 mx -all"
_dmarc.example.com.         3600  IN  TXT    "v=DMARC1; p=none; rua=mailto:dmarc-feedback@example.com"
example.com.                3600  IN  CAA    0 issue "ca1.example.net"

Line by line:

  • The website lives at 192.0.2.10, and www is an alias for the bare domain.
  • Mail goes to two servers. RFC 1035 says lower preference values are preferred, so mail1 is tried first and mail2 is the back-up.
  • The SPF line says only the domain’s mail servers send its email. RFC 7208 gives it as v=spf1 +mx -all; the plus is the default, so it can be left out.
  • The DMARC line asks for reports and takes no action yet.
  • The CAA line follows the example form in RFC 8659: only that one authority may issue certificates.

Where do the email records go? #

Three TXT records protect your email. They sit at fixed names.

Record Where it lives Standard
SPF the domain itself, one record only RFC 7208
DKIM selector._domainkey.example.com RFC 6376
DMARC _dmarc.example.com RFC 7489

The RFC Editor now lists RFC 7489 as obsoleted by RFC 9989, 9990 and 9991, so check those for the current DMARC wording. Our entry SPF, DKIM and DMARC explained shows how the three work together, and email deliverability shows why they matter.

Common mistakes #

  • Two SPF records. RFC 7208 says more than one gives a “permerror”. Merge them into one line.
  • Too many SPF look-ups. The limit is 10 DNS-querying terms (include, a, mx, ptr, exists, redirect). Past that, the result is also “permerror”.
  • Deleting a TXT record you cannot explain. It may be your Search Console proof.
  • A CNAME on a name that also has MX or TXT records. RFC 2181 does not allow it.
  • Forgetting the TTL. A long TTL turns a quick fix into a slow one.
  • Old records after a move. A forgotten A record can keep a staging site or an old server public.

How to check it #

  1. Export the full list of records from your DNS provider. Label each one with what it is for.
  2. Look up each record from outside with our DNS lookup, or from your own computer, for example nslookup -type=txt example.com. After a change, the DNS propagation checker shows whether servers around the world see it yet. Google says a new record can take up to two or three days to be served.
  3. Check the website side. The HTTP Header Checker shows the HTTP status code and headers the domain returns, and the Redirect Checker follows every hop from the bare domain to www and back. See redirect and 301 vs 302.
  4. Check the certificate with the SSL Certificate Checker, especially after a CAA or A record change.
  5. If a CDN sits in front, the Edge Cache Checker shows whether pages come from the edge cache, and the tech stack checker shows what the site is built with.
  6. Check the email records. The SPF record explainer reads your SPF line, the DKIM record decoder reads a DKIM key, and the DMARC record generator writes a starting policy. The email security checker looks at them together.
  7. Check the AI side. The AI Readiness Checker scores the site, the llms.txt Checker fetches your llms.txt, and AI Agent Readiness looks for your well-known files and MCP. If they cannot reach you, bots cannot either.
  8. Check that crawlers can reach the pages that matter: the Robots.txt Checker, the XML Sitemap Checker and Can Google index this page?. See crawlability and robots.txt.
  9. When an address in your server logs claims to be a known bot, check it with Verify an AI Bot, which uses published IP lists and reverse DNS.
  10. Run the SEO Audit after any big DNS change, such as when you move a website.

Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. The WHOIS lookup and website IP lookup help when you need to know who holds a domain or where it points.

What URSY.com counts #

We count requests the website answers, read from two places: the CDN’s edge log and the origin. Each request is sorted into one of five visitor types, and bot names are checked against 18 official IP lists, refreshed weekly: real, fake or unknown. Reverse DNS is not used for the log; it is used only in the Verify an AI Bot tool. The full rules are in our methodology.

Questions #

How long does a DNS change take? #

Up to the record’s old TTL for servers that cached it. Google says a new record can take two or three days to be served by some providers.

Can my bare domain be a CNAME? #

Not in plain DNS. RFC 2181 says a name with a CNAME holds no other data, and the bare domain already has NS and SOA records.

Can I proxy my MX record through Cloudflare? #

No. Cloudflare says only A, AAAA and CNAME records can be proxied. MX and TXT are always DNS-only.

Which TXT records can I delete? #

Only those you can explain and no longer need. A Search Console proof must stay, or the property loses its verification.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: DNS records. URSY. Updated 26 November 2026. https://ursy.com/wiki/dns-records/ · Section links

Tools for this

All 871 wiki entries, A to Z →