Skip to content
ToolsLeb ToolsLeb

CNAME Lookup Tool

Look up a domain or subdomain's CNAME (canonical name) DNS record.

Enter a domain name

Share on Social Media:

The CNAME Lookup tool asks live DNS whether a hostname is an alias for another hostname, and if so, which one. Type a full hostname such as www.example.com or shop.example.com, press Get CNAME Record, and you'll see the target the name points to along with its TTL (how many seconds resolvers may cache the answer).

When a CNAME lookup is the right check

Most people reach for this tool right after connecting a subdomain to a third-party service. Shopify, Webflow, GitHub Pages, Netlify, HubSpot, Zendesk, most CDNs and many email-marketing platforms ask you to add a CNAME so that, for example, shop.yourbrand.com points at shops.myshopify.com. If the service's setup screen keeps saying "domain not verified", the first question is whether the record you created actually exists in public DNS. Your DNS provider's dashboard tells you what you saved; a lookup tells you what the rest of the internet sees.

Other common uses:

  • Finding out who hosts a subdomain. If help.example.com points to example.zendesk.com, you know which platform runs that help centre.
  • Checking a CDN setup. A www record pointing at a CloudFront, Fastly or Akamai hostname confirms traffic is going through the CDN.
  • Cleaning up old records. A CNAME that points at a service you no longer pay for is a "dangling" record. Attackers can sometimes claim the abandoned target and serve content on your subdomain (known as subdomain takeover), so stale CNAMEs are worth removing.

How to read the result

If a CNAME exists, the table shows three things: the host you asked about, the target it points to, and the TTL. Keep in mind that a CNAME is one hop. The target may itself be another CNAME, which is normal for large platforms. If you need the final IP address, look the target up in turn.

If you see "No CNAME record was found", that is often correct rather than an error. A CNAME only exists where someone created one, and many hostnames use A (IPv4) or AAAA (IPv6) records instead. The most common reason for an empty result is checking the root domain: DNS rules don't allow a CNAME at the apex (example.com) because it would clash with the domain's required SOA and NS records. Check www.example.com or the specific subdomain instead.

Troubleshooting a new CNAME

  1. Check the host field. Most DNS dashboards want only the left-hand part (shop), not the full name. Typing shop.example.com into the host box often creates shop.example.com.example.com. Look that name up and you'll usually find your record there.
  2. Check for conflicts. A hostname with a CNAME can't have any other record type. If an old A record exists for the same name, many providers silently refuse the CNAME.
  3. Wait out the old TTL. If the name existed before with a different value, resolvers may keep serving the cached answer until the previous TTL expires. With a TTL of 3600, that can take an hour.
  4. Watch for trailing dots. Some providers want the target written as target.example.net. with a final dot; others add it for you. A missing or doubled dot can turn the target into a relative name.

A worked example

Look up www.github.com and the tool returns a CNAME pointing to github.com. In other words, the www name is just an alias, and visitors end up wherever github.com resolves. Look up github.com itself and you get no CNAME, because it's a root domain that uses A records.

Results come from a live DNS query made by our server when you click the button. We don't store the hostnames you look up beyond normal server logs.

Frequently Asked Questions

A CNAME (Canonical Name) record is a DNS record that points one hostname to another, so the aliased name resolves through whatever the target hostname resolves to.

A CNAME only exists where someone set one up, and only on a subdomain such as www or shop. Root domains (example.com) cannot have a CNAME under DNS rules, and many subdomains use A or AAAA records instead. Enter the full hostname, for example www.example.com, to check a subdomain.

Technically no — the DNS specification forbids a CNAME at the zone apex because it cannot coexist with other required records like NS or SOA, which is why root domains use A/AAAA records instead.

It points one hostname to another (an alias) — common when a subdomain is hosted on a third-party service like a CDN, e-commerce platform, or SaaS tool, since the provider can change its underlying IP without you having to update DNS.