What it does
A CNAME points one name at another instead of at an address. Chains of CNAMEs are common with CDNs and hosted services, and a single broken hop makes the whole name unresolvable. This tool walks the chain and reports each step.
How it works
The query starts at the name you enter. If the answer is a CNAME, the resolver follows the target and queries again, repeating until it reaches A/AAAA records or an error. Each hop is shown with its TTL and target.
CNAMEs cannot coexist with other records at the same name. A name with a CNAME cannot also have MX, TXT or A records, and a CNAME is not allowed at the zone apex. Providers work around the apex rule with proprietary ALIAS or ANAME records, which resolve server-side and appear as A records to clients.
Loops are the obvious failure. a.example.com pointing to b.example.com and back produces SERVFAIL and a resolver that gives up. Loop detection tracks visited names and stops instead of burning queries.
The effective TTL is the minimum along the chain, because every hop can cache independently. A short TTL at the end of a long chain still leaves earlier hops cached for longer, which complicates migrations.
The final target may change by geography or CDN. A chain that ends at an anycast name can return different addresses from different networks, and that is expected rather than a fault.
When to use it
- Trace a CDN or hosting CNAME to its final address.
- Diagnose a name that resolves in one resolver and fails in another.
- Find the hop that points at a decommissioned service.
- Check whether an apex workaround is really returning A records.
Glossary
- CNAME
- A DNS alias that points a name at another name rather than an address.
- Zone apex
- The root of a zone, such as example.com, where a CNAME is not permitted.
- ALIAS / ANAME
- Provider-specific records that resolve an alias at the apex server-side.
- CNAME loop
- A chain that returns to a name already visited.
- Effective TTL
- The shortest TTL on the path, which bounds how long the chain can be cached.
Frequently asked questions
Why can't I put a CNAME at the root domain?+
The apex must carry NS and SOA records, and a CNAME cannot coexist with other records. Use the provider's ALIAS/ANAME feature or point specific subdomains instead.
How long can a CNAME chain be?+
There is no hard protocol limit, but resolvers impose practical limits and every hop adds latency. Keep chains short; more than a few hops is a smell.
What causes a CNAME loop?+
Two names pointing at each other, a wildcard catching its own target, or a migration where an old alias was pointed back at the new name. Fix the zone; resolvers cannot.
Does a CNAME preserve the URL path?+
Yes. A CNAME is a DNS-level alias; the browser still requests the original hostname and path. HTTP redirects are a different mechanism.
Which TTL applies to the chain?+
Each record has its own TTL, and the practical cache time is bounded by the shortest link. Lower every hop if you need a fast migration.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/cname-chain-checker?d=www.github.com"Shareable result
https://100www.dev/tools/cname-chain-checker?d=www.github.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


