DNS CNAME & DNAME mappings

I came across the question of a DNAME record and whether it could be used to redirect a website. I was not aware of a DNAME record type in DNS so I went looking. It’s a mapping comparable to a CNAME but more broad.


A Canonical Name (CNAME) record is a type of resource record in the Domain Name System (DNS) that maps one domain name (an alias) to another.

The CNAME record is present in every DNS that I am aware of.


For example, a CNAME on pointing to will link to

This does not affect any other subdomain on


The DNAME resource record is used in the Domain Name System to delegate authority for a specific subzone to another domain. Unlike CNAME, which only applies to a single hostname, DNAME applies to all hosts subordinate to that hostname.

Support for DNAME records is currently limited. As of January 2024, Azure DNS Zones and Cloudflare DNS do not support DNAME records.


For example, a DNAME on pointing to will link to

Including any other subdomain on to