Troubleshooting
CNAME chains and canonical DNS names
A CNAME record points to another DNS name, which may require further resolution before an address is obtained.
Updated
In this guide
Follow the alias
alias.example.com CNAME www.example.com; www.example.com A 192.0.2.10. The alias itself is not the IPv4 address. A resolver may include both records in one answer.
Avoid loops
Chains increase the number of dependencies. If A points to B and B points back to A, no final address is available through that chain. Missing targets also break resolution.
Record constraints
A name with a CNAME generally cannot have other ordinary data records at the same owner name. Provider-specific apex alias features are not the same as a standard CNAME at a zone apex.
Follow an example alias
www.example.com might be a CNAME for service.example.net, which then has an A or AAAA record. The final address is not stored in the alias record itself. Capture the intermediate names and their TTLs when troubleshooting; each link in the chain can have a different failure.
Step-by-step example
Trace an illustrative alias chain with names under example.com and example.net.
- 01
Read the first alias
A CNAME at www.example.com might point to service.example.net. The CNAME target is a name, not an IP address.
- www.example.com
- CNAME
- service.example.net
- Target
Illustration · example, not a live result - 02
Find the address record
Resolve the target's A and AAAA records as needed. A further CNAME may add another link. Each record has its own TTL.
- Alias
- www.example.com
- Target
- service.example.net
- A
- 192.0.2.20 (example)
Illustration · example, not a live result - 03
Check failures and configuration
An alias loop or broken target can prevent resolution. If you manage the records, correct the chain and respect provider rules for coexistence of CNAME with other records. HTTPS still requires a valid certificate and service for the original hostname.
- Alias chain
- Must terminate
- HTTPS
- Original hostname + TLS
Illustration · example, not a live result
Check your understanding
Do not assume a CNAME alone proves a service works or identifies its origin server.
Try this tool →Try this
Look up an alias you manage and inspect both the CNAME target and final address answer.
DNS record lookup →