Free CNAME Lookup & Chain Checker

Free CNAME lookup that follows every alias hop to the final A/AAAA address, shows TTLs, detects the CDN or host, and warns about dangling CNAMEs.

  • Queries Cloudflare & Google public DNS
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideHow CNAME Chains Work and Why Dangling CNAMEs Are Dangerous →

About the CNAME Lookup tool

A CNAME record makes one hostname an alias of another. They are everywhere — www pointing to a CDN, shop pointing to Shopify, docs pointing to GitHub Pages — and they often chain: your name points to a provider's name, which points to a regional name, which finally has an IP address. When something breaks, you need to see every hop.

Enter a hostname and this CNAME lookup follows the complete chain returned by the resolver, showing each alias with its TTL and the final A and AAAA addresses at the end. It recognises the destination of common CDNs and hosts, including CloudFront, Akamai, Fastly, Cloudflare, Azure, Vercel, Netlify, Heroku, Shopify and GitHub Pages. It flags long chains that slow down the first connection and, importantly, dangling CNAMEs: aliases that point to a name with no address. Dangling records are how many subdomain-takeover attacks start, so removing them matters.

The tool also explains when a root domain cannot use a CNAME and providers use flattening instead. Queries go from your browser to Cloudflare or Google DNS over HTTPS and include only the hostname.

How to use CNAME Lookup

  1. Type a hostname such as www.example.com in the “Hostname” box.
  2. Choose a resolver, or keep Cloudflare.
  3. Click “Follow CNAME”.
  4. Read the chain from top to bottom: your name, each CNAME hop and the final IP addresses.
  5. Click “Copy chain” to copy the path as text.

Features

Full chain display

Every alias hop is shown in order with its TTL, ending in the final A/AAAA addresses.

Dangling CNAME detection

Warns when a chain ends at a name with no address — a subdomain-takeover risk.

CDN and host recognition

Identifies more than 15 CDNs and platforms from the target hostname.

Apex CNAME guidance

Explains CNAME flattening and ALIAS records when you check a root domain.

When to use it

  • Verify that www points to your new hosting platform after a migration.
  • Find which CDN serves a website by following its CNAME chain.
  • Audit old marketing subdomains for dangling CNAMEs to deleted services.
  • Check the CNAME you added for a custom domain on Shopify, Vercel or GitHub Pages.

Frequently asked questions

Can I put a CNAME on my root domain?

Not in standard DNS, because the root must also hold SOA and NS records and a CNAME can't coexist with other records. Providers offer CNAME flattening or ALIAS/ANAME records that behave like a CNAME at the apex.

What is a dangling CNAME?

An alias pointing to a name that no longer exists, for example a deleted cloud app. If someone else can claim that name on the same platform, they can serve content on your subdomain.

Does a long CNAME chain hurt performance?

Each hop may require an extra lookup the first time, adding some milliseconds. Two or three hops is normal for CDNs; very long chains are worth shortening.

Why does the tool show no CNAME for my hostname?

Then the hostname has its own A/AAAA records, or it doesn't exist. If you expected a CNAME, check the exact name in your DNS panel and whether the change has propagated.

Related tools