into.best/cname

CNAME lookup

Follow the alias chain from your hostname to the record it finally resolves to, hop by hop, including CDN hand-offs.

Look up github.com
Advertisement

How to use it

  1. 1

    Paste the value into the box above and press Enter.

  2. 2

    Answer lands on the main site, where every tab for that name is one click away.

  3. 3

    Use the API when you need the same answer inside your own tool.

What you get back

A CNAME says "this name is another name" — it does not hold an address, it points at a record that does. Following a chain is how you discover that `www.example.com` is actually a load balancer two hops away. This tool resolves the chain hop by hop and shows where it terminates.

  • Every CNAME hop from your hostname to the terminal record
  • The terminal A / AAAA record and its TTL
  • CDN or hosting provider inferred from the target pattern
  • Total hop count, and whether the chain hits a loop
  • Whether an A record also exists at the alias name, which is illegal
  • The apex record, where hosting providers detect the flattening
  • The TTL at each hop, which is where a stale alias hides

How the check works

Method notes are published so you can disagree with a verdict instead of guessing at it.

  1. 01

    The hostname is queried for a CNAME first. If none exists, the page says so plainly — a name that resolves directly is not a failure.

  2. 02

    Each CNAME target becomes the next query, with a hop limit so a misconfiguration cannot loop forever.

  3. 03

    The chain stops at the first record that is not a CNAME, which is normally an A or AAAA. Its address and TTL are the real answer.

  4. 04

    Hosting and CDN identification uses the target hostname pattern, and is labelled as an inference, because a hostname can be renamed to anything.

  5. 05

    If a CNAME and an A record both exist at the same name, that is a protocol violation; the page reports it rather than silently preferring one.

Where the data comes from

  • Zone CNAME records
  • A / AAAA lookups for the chain target
How fresh it is2026-12-04 15:57 UTCLast reviewed 2026-11-28

What it does not do

We say what we did not measure. A derived figure is labelled as derived, never dressed up as a measurement.

  • A CDN name in the chain does not mean the CDN is actually serving you. Many setups leave a CNAME behind after a migration.
  • We cannot see internal CNAMEs that only exist inside a private zone.
  • A CNAME at the zone apex is invalid per RFC, but providers work around it by flattening — from outside, an apex may look like it has an A record when it really has a CNAME. We report the flattened view, because that is what resolvers return.
  • Chain length is capped. A deliberately deep chain will be truncated, and the page says where.

Terms used on this page

The vocabulary of the answer, defined in the same words the result page uses. Read this before the questions if a term below is unfamiliar.

CNAME
Canonical name — an alias record. It does not hold an address; it says "this name is another name", and the resolver must then look up the target and answer with whatever the target has.
Apex / zone root
The bare domain — `example.com` rather than `www.example.com`. The apex must carry NS and SOA records, and a CNAME must be alone at its name, so the two cannot coexist on the apex.
CNAME flattening
A provider resolves the CNAME on your behalf and answers with A/AAAA records instead, so the apex can point at a hostname. It is the provider synthesising an answer, not a real CNAME — which is why a query against the apex can return addresses and no alias.
Resolution hop
One step in the alias chain. Every hop is an extra lookup, and every extra lookup is latency plus one more place where the chain can break. Two hops are normal; five mean something is being chained that should be configured directly.
TTL
Time to live, in seconds: how long a resolver may cache the answer. A short TTL lets a change propagate quickly at the cost of more queries; a long one is faster for readers but makes mistakes last.
Alias loop
Two names pointing at each other, or a chain that returns to its start. Resolvers detect it and fail the lookup. The page flags it because it is a configuration error on your side, not a network fault to wait out.

Free / Paid

Single lookups are free, with no account and no visible quota. Bulk lookups, history and diff, exports, monitoring and commercial API use are paid.

FREENo account needed
  • Full alias chain for one hostname
  • Final A / AAAA and CDN detection
  • Full alias chain for one hostname
  • Final A / AAAA and CDN detection

API and MCP

Every tool on this page is also an endpoint.

RESTGET /api/v1/cname/{target}Open the full JSON report →
MCPcname_lookupThe same operations are exposed as MCP tools, so an assistant can look them up while it writes.

Common questions

Why can I not put a CNAME on my root domain?

Because a CNAME must be alone: if it exists, no other record can exist at that name. The apex always needs NS and SOA records, so a CNAME there would contradict them. Providers solve it by flattening — resolving the CNAME themselves and answering with A records instead — which is why the apex sometimes behaves differently from a subdomain.

The chain ends at a hostname I do not recognise. Is that a problem?

Not by itself. It usually means a SaaS provider or CDN owns that hop — the pattern in the name is the hint, which is why we label the inference rather than assert it. If the terminal record serving you is unexpected and you did not configure it, then it is worth checking your DNS history for an unauthorised change.

Why does a query show addresses but the record list shows no CNAME?

Almost always CNAME flattening. The provider resolved the alias themselves and answers with A/AAAA records, so an outside resolver never sees the CNAME. The site is reachable exactly as intended; the alias simply exists inside the provider rather than in the zone.

How many hops is too many?

More than three is worth a look and more than five is a problem. Each hop adds a round trip and a dependency; a chain that crosses two CDNs means a change at either end can break your name. If the chain exists to satisfy a vendor, ask whether they support an ANAME or a direct record instead.

Should I put a CNAME on my apex?

Not directly — the standards forbid it, because the apex must carry NS and SOA. Use the flattening or ANAME feature of the provider, or point an A record at a static address. Anything that appears to work on the apex by "just adding a CNAME" is the provider rewriting it for you.

What happens when the CNAME target disappears?

Your name stops resolving entirely — a CNAME with a missing target is not a fallback, it is a dead end. This is the mechanism behind most subdomain takeovers: the alias survives, the service behind it is cancelled, and whoever claims that hostname next inherits your traffic.

Operated by the into.best team

Data model reviewed byDNS methodology — into.best
Last reviewed2026-11-28
Corrections welcomeReach the team →

This page is the tool; the deep report lives on the main site./github.com/dig/cname

Share this page