SEO glossary

What is DNS?

Learn what DNS (Domain Name System) does—mapping hostnames to IPs—and how TTL, misconfiguration, and propagation affect HTTPS, crawling, email, and search visibility.

Technical SEOUpdated August 14, 2026
Also known asDomain Name SystemDNS resolutiondomain DNS

Definition

DNS (Domain Name System) is the hierarchical naming service that translates human-readable domain names into IP addresses and other records, enabling browsers and crawlers to locate servers before HTTP requests begin.

DNS: the invisible first step of every crawl

Before TLS, before server response time, before HTML—there is DNS. Type https://example.com and your resolver asks a distributed tree of nameservers which IP address owns that hostname. Crawlers run the same lookup. If DNS lies, points nowhere, or flaps between hosts, SEO breaks before content quality enters the conversation.

DNS is infrastructure, not a ranking knob—but it is load-bearing infrastructure.

How DNS resolution works (simplified)

Browser/crawler
      │
      ▼
 Recursive resolver (ISP, 8.8.8.8, 1.1.1.1)
      │
      ▼
 Root → TLD (.com) → Authoritative NS for example.com
      │
      ▼
 Returns A/AAAA record → 93.184.216.34
      │
      ▼
 TCP connect to IP → TLS → HTTP

Failures at any hop look like "site down" to bots—often recorded as DNS or connection errors in server logs only if the request reached the host at all.

Record types SEO teams encounter

RecordPurposeSEO migration note
AIPv4 address for hostnamePoint apex to load balancer or CDN
AAAAIPv6 addressEnsure parity with A or disable consistently
CNAMEAlias to another hostnameCommon for www → CDN target
TXTVerification, SPF, DKIMGoogle Search Console domain property
MXMail routingUnrelated to crawl but breaks forms if mis-set during moves
NSDelegates zone to providerBotched NS change = global outage

CNAME at apex historically conflicted with other records; modern DNS providers offer ANAME/ALIAS flattening—verify with your host.

TTL, caching, and migration risk

TTL (time to live) tells resolvers how long to cache answers. High TTL (3600+ seconds) reduces query load but slows rollback during migrations.

Migration playbook:

  1. Lower TTL to 300 seconds days before the cutover.
  2. Stage new records in parallel environments.
  3. Switch A/CNAME to new hosting or CDN.
  4. Monitor crawl errors and synthetic checks from multiple regions.
  5. Restore higher TTL after stability.

SEO teams feel TTL pain when half of Googlebot still hits the old IP serving deprecated redirects—or worse, a parked domain.

Apex vs www: pick a canonical host

Both example.com and www.example.com need deliberate DNS + HTTP policy:

  • DNS should resolve both (or redirect at DNS level if provider supports).
  • HTTP should 301 non-canonical → canonical.
  • Certificates must cover chosen hostnames.
  • Sitemaps and internal links should use one scheme consistently.

Split-brain—A record to old host, CNAME for www to new CDN—is a duplicate-content factory.

DNS and email deliverability (adjacent SEO ops)

Contact forms and newsletter confirmations tie to MX/SPF/DKIM/DMARC TXT records. A site migration that drops TXT verification can break Search Console domain verification and transactional mail—stalling indexation requests and stakeholder alerts during incidents.

DNS performance and crawl efficiency

Slow DNS adds latency before TTFB measurement begins. Effects are usually smaller than origin slowness but compound on asset-heavy pages with many third-party hostnames—each potentially unique lookup.

Use:

  • Reputable authoritative DNS with anycast resolvers
  • Fewer CNAME chains where possible
  • dns-prefetch / preconnect sparingly for critical third parties (browser hints, not crawler magic)

DNS security incidents with SEO impact

IncidentOutcome
Hijacked nameserversAttacker serves malware or soft 404s to crawlers
Stale NS after registrar transferIntermittent resolution by geography
Wildcard DNS *.example.comUnexpected subdomains indexed if server accepts any host header
Dangling CNAMETakeover risk on abandoned SaaS targets

Monitor DNS from external vantage points; log file analysis alone misses pure DNS failures.

International and multi-domain setups

hreflang across ccTLDs (example.de, example.fr) multiplies DNS surfaces. Each property needs correct A/AAAA, valid TLS, and Search Console verification. Geo DNS routing (sending EU users to EU origins) can confuse crawlers if bots receive different content by resolver location—prefer consistent canonical URLs over IP trickery.

DNS for staging and pre-production

staging.example.com must not leak into production sitemaps or robots allow rules. Common mistakes:

  • Public staging DNS with weak auth → thin duplicate indexes
  • Forgotten DNS entries after campaigns (promo.example.com)

Block or noindex staging at the HTTP layer even when DNS exists.

Troubleshooting DNS for search teams

  1. dig example.com A + trace — authoritative answer path
  2. Compare global DNS checks (multiple regions)
  3. Validate HTTPS cert matches resolved host
  4. Search Console crawl stats during migration windows
  5. Correlate registrar, CDN, and hosting dashboards—three consoles, one hostname

DNS tooling for SEO incident response

Keep a runbook with registrar login, authoritative DNS provider access, and CDN dashboard credentials in one place. During outages, SEO is often first to notice crawl cliff edges in Search Console while engineering checks application pods—DNS mispointing is faster to fix than code deploys if you can find the right console quickly.

Document which team owns each record type (marketing owns TXT verification; infra owns A/CNAME) to avoid circular tickets during migrations.

How Crawlox fits DNS-aware crawling

Crawlox crawls the hostnames you authorize—surfacing HTTP/HTTPS issues after resolution succeeds. Pair crawl monitoring with external DNS uptime checks so you catch resolution failures before they zero out bot traffic. DNS is step zero; Crawlox helps validate everything that must work once the name resolves.

Related terms

Frequently asked questions

Can DNS affect SEO rankings?

DNS is not a content ranking signal, but outages, slow resolution, or wrong records block crawling and HTTPS—indirectly devastating for visibility.

What DNS records matter for websites?

A/AAAA (IPv4/IPv6), CNAME (aliases), MX (mail), TXT (verification, SPF, DKIM), and sometimes NS changes during migrations.

What is DNS propagation?

The time for updated records to spread across global resolvers, influenced by TTL and caching. Plan migrations with low TTL beforehand.

Should www and apex both resolve?

Pick a canonical host (apex or www) and 301 redirect the other. Both should resolve without errors to avoid duplicate URL indexing.

How does DNS relate to CDN setup?

CDNs usually require CNAME or ANAME records pointing hostnames to edge networks. Wrong records send traffic to old origins.

References

Explore authoritative guidance and frameworks related to dns.

Explore every glossary definition

Return to the glossary to search by term, alias, starting letter, or category.

Browse glossary