Home › Developer Tools › CNAME Lookup

CNAME Lookup

Enter a hostname to see whether it is an alias and follow its full CNAME chain, hop by hop, to the final IP addresses. Each target is matched to the CDN or hosting platform behind it, and broken or dangling aliases are flagged.

Last updated:

Try:

Enter a hostname such as www.example.com and click Find CNAME chain to follow every alias to the final IP addresses.

Advertisement
Advertisement

How to use the CNAME Lookup

  1. Type a hostname such as www.example.com, or paste a full URL; the host name is taken from it.
  2. Click Find CNAME chain or press Enter.
  3. Follow the chain from the queried name through each alias to the final name and its IP addresses.
  4. Check the platform tags to see which CDN or service each alias belongs to.
  5. Act on warnings: remove dangling CNAMEs, break loops, or replace an apex CNAME with your DNS host's ALIAS record.

Common CNAME targets and what they mean

The end of a CNAME chain often reveals which service hosts a site. These target patterns are typical; the exact names are assigned by each provider.

CNAME target ends withServiceTypical use
.cloudfront.netAmazon CloudFrontCDN in front of S3, load balancers or apps
.edgekey.net, .akamaiedge.netAkamaiEnterprise CDN and security
.fastly.netFastlyCDN and edge compute
.azureedge.net, .azurefd.netAzure CDN / Front DoorMicrosoft cloud delivery
.trafficmanager.netAzure Traffic ManagerDNS-based failover and geo routing
.github.ioGitHub PagesStatic project and documentation sites
.netlify.app, cname.vercel-dns.comNetlify, VercelJamstack and front-end hosting
shops.myshopify.comShopifyOnline stores on a custom domain
ghs.googlehosted.comGoogleGoogle Sites, Blogger and other Google services

CNAME rules worth knowing

  • One record only. A name with a CNAME cannot also have A, MX, TXT or other records. That is why email and verification records go on the root domain or another name, not on an alias.
  • Never on the apex. example.com itself needs SOA and NS records, so it cannot be a CNAME. Use your DNS host's ALIAS, ANAME or flattening feature, or plain A records.
  • MX and NS must not point to a CNAME. RFC 2181 requires their targets to be real host names. Check them with the MX Lookup and NS Lookup.
  • Clean up when you leave a platform. Delete the CNAME before or right after deleting the app, bucket or site it points to, to avoid dangling records and subdomain takeovers.
  • TTL controls switching speed. Lower the TTL of an alias before moving it to a new provider, then raise it again once the change has spread. Watch it with the DNS Propagation Checker.

Frequently asked questions

What is a CNAME record?

A CNAME (canonical name) record makes one hostname an alias of another. When a resolver looks up www.example.com and finds a CNAME to example.netlify.app, it starts again with the target name and returns that name's addresses. It lets a service provider change its IP addresses without you editing your DNS.

What is a CNAME chain?

A chain forms when a CNAME target is itself a CNAME. CDNs and cloud platforms often use two to four aliases, for example your name to a customer-specific name, then to a regional edge name. Resolvers follow the whole chain automatically, but each hop adds lookup time, and the shortest TTL in the chain decides how long the answer is cached.

Can I put a CNAME on my root domain?

Not in standard DNS. RFC 1034 says a name with a CNAME cannot have any other records, but the root (apex) of a zone must have SOA and NS records. Many DNS hosts work around this with CNAME flattening, ALIAS or ANAME records, which look up the target and publish its addresses as ordinary A and AAAA records.

What is a dangling CNAME?

A CNAME whose target no longer exists, usually because a cloud app, storage bucket or SaaS page was deleted while the DNS record stayed. Besides breaking the site, it can allow a subdomain takeover: someone registers the same target name on that platform and serves their content on your hostname. Delete unused CNAMEs promptly.

Why does the lookup show no CNAME?

The hostname has its own A or AAAA records, so it is not an alias. Root domains never have CNAMEs, and if your DNS host uses CNAME flattening, the alias is resolved on the server side and only the final addresses are visible from outside.

Can a CNAME exist with MX or TXT records on the same name?

No. A CNAME must be the only record at its name (RFC 2181 allows only DNSSEC records beside it). If you need email or verification TXT records, put them on a name that is not an alias, or use your DNS host's ALIAS feature.

Is this lookup private?

The hostname is sent directly from your browser to Cloudflare's or Google's public DNS-over-HTTPS resolver. FreeToolCabin does not receive or store your lookups.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.
See all 52 Network, DNS & Email Tools →