Email DNS
Find the target of a CNAME record
Shows the canonical name an alias points to, so you can confirm a custom domain, a CDN hostname or a DKIM selector before you rely on it.
The register is slow to answer. Still checking…
How to read the result
The status says whether the name you typed is an alias. The rows show where it points.
| Field | What it means | What to do with it |
|---|---|---|
| Status | CNAME found, or No CNAME when the name holds other records or nothing. When DNS fails, the response code instead, such as NXDOMAIN. | No CNAME is normal for root domains and for names with their own address records. |
| Points to | The canonical name the alias leads to, lower case and without the trailing dot. | Compare it, character by character, with the target your provider gave you. |
| Then to | Further hops, shown when the resolver returns more of the chain. | Each hop is another name someone else controls. |
| Name queried | Shown when there is no CNAME: the exact name that was looked up. | Check it is the name you meant, not the root domain. |
| TTL | The seconds left before the resolver's cached copy of the alias expires. | The longest wait for a change to reach this resolver. |
| Bulk CSV upload | Locked. Bulk jobs run the API's lookups, such as domain, email, phone or IP, over a CSV. They do not run CNAME queries. | Needs a free account. |
| API access | Locked. Raw CNAME queries are not an API endpoint; the domain and email endpoints use the same resolvers for the records they check. | Needs a free account, which includes 100 credits every month. |
Checks are free: 10 a day without an account.
How the check works
- The tool reads exactly the name you typed. A URL works: it keeps the host. Names with underscores, such as DKIM selectors, are accepted. Nothing is shortened, so type the full host name, such as
www.example.com. - It asks for the CNAME record of that name over DNS over HTTPS, first from Cloudflare's resolver, 1.1.1.1, then from Google Public DNS if the first fails, times out or returns SERVFAIL or REFUSED.
- It lists the CNAME answers in order, then the TTL of the first.
When the question is the CNAME itself, a resolver returns the alias at that name and does not chase it further (RFC 1034 section 3.6.2). So the card usually shows one hop. To follow a chain, look up the target in turn. When the target holds address records instead of another alias, the chain ends there, and the DNS lookup shows its A and AAAA records.
The lookup cannot see aliases a DNS host resolves on its side before answering. A flattened apex or a provider ALIAS record returns plain addresses, and the card reads No CNAME.
The rules of CNAME records
| Rule | Source | What it means in practice |
|---|---|---|
| No other data at the same name | RFC 1034 section 3.6.2, clarified by RFC 2181 section 10.1 | A name that is an alias cannot also hold A, MX, TXT or any other record. DNSSEC records are the only exception. |
| No CNAME at the zone apex | Follows from the rule above: the apex must hold the zone's SOA and NS records | example.com cannot be an alias. www.example.com can. |
| MX and NS targets must not be aliases | RFC 2181 section 10.3 | Point mail and delegation records at real host names. |
| Chains are allowed, loops are not | RFC 1034; RFC 1912 section 2.4 warns against long chains | Keep chains short. Two names pointing at each other never resolve. |
| The target is a name, not a URL | RFC 1035 | app.provider.example, never https://app.provider.example/. |
Aliases at the apex: the options
Many services tell you to "point your domain" at a host name, which a root domain cannot do with a CNAME. There are four ways out:
| Option | How it works | Trade-off |
|---|---|---|
| Use the www name | Put the CNAME at www.example.com and make the apex redirect to it over HTTP. |
Needs a web server or a redirect service answering at the apex. |
| Provider flattening or ALIAS | Your DNS host resolves the target and serves its addresses at the apex. | Not standard. Only works while your DNS host offers it, and the answers can lag behind the target. |
| HTTPS record in alias mode | RFC 9460 defines an HTTPS record whose alias mode is allowed at the apex. | Only clients that query HTTPS records use it. Keep A and AAAA records for the others. |
| Plain A and AAAA records | Copy the addresses the service publishes for apex use. | You must update them yourself if the service changes addresses. |
Checking a custom domain setup
Hosting platforms, help desks, status pages, shops and email providers ask you to add a CNAME to connect a name to their service. Before you click verify:
- Look up the exact name the service asked for, such as
shop.example.comorstatus.example.com. - Points to must equal the target the service gave you. A target ending with your own domain, such as
shops.provider.example.example.com, means the dashboard completed a name without its final dot. - If the status is No CNAME, the record is missing, the name has another record in the way, or the name you looked up is not the one you edited.
- If the status is NXDOMAIN, the name does not exist at all: check the zone you created the record in.
- Look up the target itself. If it returns NXDOMAIN, the service has not provisioned your resource yet, or it has been deleted.
| Mistake | What you see | Fix |
|---|---|---|
| Trying to add the CNAME at the apex | The DNS host refuses the record. | Use the www name, or one of the apex options above. |
| A TXT token at the same name as the alias | The DNS host refuses one of the two. | Ask the service for another verification name, or verify before adding the alias. |
| A URL as the target | The record is rejected, or points at a name that cannot exist. | Enter only the host name. |
| An old A record left next to the new CNAME | The DNS host refuses the CNAME. | Delete the A record first. |
What the target tells you
The Points to row is often enough to know who serves a name, because services give each customer a host name inside their own domain.
| Target looks like | What it usually means | What to check next |
|---|---|---|
A name inside your own domain, such as example.com or web.example.com |
An internal alias: the www name follows the apex or another server you run. | The address records of the target, with the DNS lookup. |
| A customer-specific name at a hosting or CDN provider | Your name is served by that provider's network. | That the provider still has your site or app configured under that name. |
| A shared edge name at a provider, with no trace of your account | The second hop of a chain, or a provider that routes all customers through one name. | The first hop: it is the one tied to your account. |
| A name at a SaaS tool, such as a help desk or a status page | The subdomain is that tool's custom domain feature. | That the tool still lists your domain in its settings. |
| A name ending with your own domain twice | A target typed without its final dot. | Fix the record: it points nowhere. |
Behind the last hop are addresses. To see which network they belong to, run the address through the ISP lookup or the IP lookup.
Plan a change to an alias
Moving a name from one service to another is a CNAME edit, and it can be done without downtime:
- Look up the name here and note the TTL. That is how long resolvers can keep the old target.
- A day before, lower the TTL at your DNS host to a few minutes, and wait for the old TTL to run out.
- Set up your name at the new service first, so it is ready to answer with a valid certificate.
- Change the target. Look the name up again until Points to shows the new value.
- Keep the old service running until the old TTL has passed for every cache.
- Raise the TTL again, then remove your name from the old service, last, so the alias never dangles.
Dangling CNAMEs and subdomain takeover
A CNAME keeps pointing at its target long after anyone remembers why. When the target is a resource on a third-party service, such as a cloud app, a storage bucket, a CDN endpoint or a hosted page, deleting the resource does not delete the record in your zone. The alias now dangles.
The risk comes from how such services name resources. If the deleted resource's name can be registered again by another customer, someone can claim it. Your subdomain then resolves to their resource, and they decide what it serves. Under your domain name, they can:
- Host a convincing phishing page or malware download.
- Read cookies your applications scope to the parent domain, because browsers send them to every subdomain.
- Obtain a TLS certificate for the subdomain, since they can answer an HTTP-based domain validation.
How to find dangling aliases:
- Export your zone and list every CNAME.
- Look up each target. A target that returns NXDOMAIN is dangling.
- Open each name in a browser. A provider page saying the app, bucket or site does not exist is a warning sign, even when the target resolves.
- Remove the record, or recreate the resource you meant to keep.
The lasting fix is a habit: remove the DNS record first, then delete the resource. Review aliases whenever a project, a vendor or a team ends.
CNAMEs in email setups
CNAMEs show up in email configuration in two places. Many sending services ask you to publish DKIM selectors as CNAMEs pointing to keys they host, so they can rotate keys on their side. Type selector._domainkey.example.com here to confirm the alias, then check the key with the DKIM checker. Some services also use CNAMEs for tracking links or bounce domains. MX records, on the other hand, must point at real host names: the MX lookup shows them, and the TXT record lookup shows the SPF and DMARC records that go with them.
CNAME queries at scale
The API does not expose raw DNS queries, CNAME included. The domain intelligence API returns a domain's registration, A, AAAA, MX and NS records and its email setup for 1 credit, as described in the domain endpoint reference. To check many aliases from a script, a standard DNS client does the job:
dig +short CNAME www.example.com
Run it over your zone export, then look up each target the same way to catch the ones that return nothing.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/email \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"email":"jane@exmaple.com","mode":"fast"}'const response = await fetch("https://api.qelka.com/v1/email", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
email: "jane@exmaple.com",
mode: "fast",
}),
});
const result = await response.json();{
"id": "lkp_01M84QZDZG5EJDJJE338NYR2ZA",
"object": "email",
"input": "jane@exmaple.com",
"status": "unknown",
"reason": "smtp_not_checked",
"did_you_mean": "jane@example.com",
"checks": {
"syntax": true,
"mx": true,
"smtp": null,
"catch_all": null,
"disposable": false,
"role": false,
"free_provider": false
},
"domain": {
"name": "exmaple.com",
"spf": true,
"dmarc": true
},
"score": 55,
"credits_used": 1,
"cached": false
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
What is a CNAME record?
www.example.com and finds a CNAME to example.net, it restarts the lookup with example.net and uses that name's records. Services use it so they can change their own addresses without asking every customer to update DNS.Why can't I put a CNAME at my root domain?
example.com, must carry the zone's SOA and NS records. A CNAME there would break that rule, so DNS hosts refuse it. Use the www name for the alias, or one of the apex alternatives described on this page.What is CNAME flattening or an ALIAS record?
example.com; the host resolves that target itself and answers with plain A and AAAA records. It is not a standard record type, its name and behavior differ between providers, and resolvers never see a CNAME. That is why this lookup shows No CNAME for a flattened name.Can a CNAME point to another CNAME?
www name points to a customer-specific name, which points to a shared edge name. RFC 1912 warns that long chains can trip up some resolvers, and every hop adds a lookup. Keep your own part of the chain to one alias, and never point two names at each other.Can a name have both a CNAME and a TXT record?
Why does the lookup show No CNAME when my site works?
Can an MX record point to a CNAME?
What is a dangling CNAME?
What is a subdomain takeover?
How long does a CNAME change take to work?
Does a CNAME redirect visitors to another URL?
www.example.com, and only the address it connects to comes from the target. The server at the target must accept requests for your name and present a TLS certificate that covers it. An HTTP redirect, which changes the URL, is configured on a web server, not in DNS.Should the CNAME target end with a dot?
target.net written in the example.com zone becomes target.net.example.com. Most DNS dashboards add the dot themselves. If the card shows a target ending with your own domain, the dot was missing. The card displays targets without their final dot.Why does my email provider ask for CNAME records for DKIM?
selector._domainkey.example.com as a CNAME to a name the provider controls, and the provider publishes the actual key there. Type the selector name here to confirm the alias, then check the key itself with the DKIM checker.How do I find every CNAME of my domain?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time