1. Home
  2. Developer tools
  3. CNAME Lookup

CNAME Lookup

Enter a name to see whether it is an alias and where the chain ends. Each hop is looked up separately, so you can see where a problem is.

Free, no sign-up. Runs in your browser; see “Private by design” for the one online step.

How to use CNAME Lookup

  1. Enter a host name such as www.example.com.
  2. Press Look up.
  3. Read the chain and the final addresses.

Features

  • Follows up to ten aliases
  • Shows TTL of each hop
  • Detects loops
  • Final A and AAAA records
  • Warns about long chains
  • Cloudflare or Google resolver

Supported formats

Input

  • Domain names
  • Typed or pasted text

You get

  • Alias chain
  • Final addresses

Private by design

Nothing is sent until you press the button. Then the domain names or addresses needed for the check (for example the name and the record type) are sent over HTTPS to the resolver you choose, Cloudflare (cloudflare-dns.com) or Google (dns.google), which see them under their own privacy terms and your IP address. openWorkstand never receives them. How local processing works

Good to know

  • Resolvers flatten a chain before answering, so each hop is queried separately and may differ from what one client sees.
  • Chains longer than ten aliases are stopped.

Guide

Following CNAME aliases to the real address

A CNAME record says “this name is another name for that one”. It is the tool that lets www.example.com follow a hosting provider’s address without copying it, and that lets a provider move servers without telling its customers. It also has strict rules that cause some of the most common DNS mistakes. The page shows the chain from the name you enter to the final address.

How aliases are resolved

When a resolver finds a CNAME in the answer for a name, it starts again at the target. If the target has another CNAME, it follows that, and so on until it reaches a name with the record type that was asked for, usually an A or AAAA record. The page does the same, but shows each hop separately with its TTL, so you can see which name introduced which alias and how long each part will be cached. Resolvers cut off long chains to avoid loops; the page stops after ten hops and says so.

The rules that matter

RFC 1034 and RFC 2181 say that a name with a CNAME cannot have any other record type. That is why you cannot put a CNAME where the zone’s SOA and NS records already sit, which is the apex or “naked” domain, and why adding a CNAME to a name that already has an MX or TXT record breaks them. MX and NS records must point to names that have address records, never to aliases. Following these rules avoids the quiet failures where one resolver tolerates a violation and another does not.

Reading the output

Under the heading “Alias chain for …” the page prints each step: the name, “is an alias of” and the target with its TTL. The last step is the “Final name” with the address it resolves to and its TTL. If the name is not an alias at all, the page says that it has no CNAME and shows its addresses directly. A chain that ends without an address, for instance because the target was deleted, reveals a dangling alias, a classic security issue called subdomain takeover when the target service can be claimed by someone else.

A worked example

Press Sample to look up www.github.com. The page reports that www.github.com is an alias of github.com with a TTL of 3600 seconds, then shows the final name github.com with its IPv4 address and a short TTL. Two details are worth noticing. The alias TTL is long because the alias rarely changes, and the address TTL is short because the provider may redirect traffic at any time. The addresses in the result vary; the shape of the chain is what you are meant to read.

Limits

Resolvers return a flattened answer, so the hops shown are produced by querying each name separately and may differ slightly from what a single client sees if the DNS is geographically aware. The page does not know about server-side alias features that return plain addresses at the apex. Test each name you care about, including those used for email, which should not be aliases. For all record types at once use the DNS Lookup.

Checked against the current version of the CNAME Lookup on .

Frequently asked questions

What do I do if I need an alias at the root of my domain?

Standard DNS forbids it, so providers offer non-standard workarounds called ALIAS, ANAME or CNAME flattening, which resolve the target on the server and return plain address records. Check whether your DNS host supports one, or use A and AAAA records.

Is a long chain a problem?

Each hop is another lookup for the resolver, adding delay and another thing that can fail. Chains of one or two aliases are normal; many providers chain three or more. Resolvers stop after a limit, and so does this page.

Why can’t I put a CNAME on the root of my domain?

A name with a CNAME may have no other records, but the root must have SOA and NS records. Some DNS hosts offer an alias or flattening feature as a workaround.

What does a CNAME loop do?

The name can never resolve, because the chain leads back to itself. Resolvers stop and return an error.

Is anything sent over the internet?

Nothing is sent until you press the button. Then the domain names or addresses needed for the check (for example the name and the record type) are sent over HTTPS to the resolver you choose, Cloudflare (cloudflare-dns.com) or Google (dns.google), which see them under their own privacy terms and your IP address. openWorkstand never receives them.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.