DNAME

Delegation Name

This text was analyzed, written and translated by artificial intelligence (AI). It may contain mistakes.How we use AI

A DNS record One entry in a DNS zone, made of a name, a type, a TTL and data. Full definition of DNS record that redirects every name below a given point in the tree to the same place under another domain. A CNAME record Canonical Name record A DNS record that makes one domain name an alias of another. Full definition of CNAME record covers one name only, while a DNAME covers a whole branch. It is used, for example, to make one zone mirror another.

category
DNS and technical foundations

Updated on 4 min read

A DNAME record is a DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS instruction that sends every name below one point in the domain name A readable internet name made of labels separated by dots. Full definition of domain name tree to the matching name under another domain. A CNAME record gives one name an alias; a DNAME redirects a whole branch at once. It is a specialist tool, used mainly for reverse lookups and for making alternative forms of a name resolve like the original.

What a DNAME record is

DNAME was first defined in August 1999 in RFC Request for Comments A numbered document in the series recording the internet's technical standards and practices. Full definition of RFC 2672, “Non-Terminal DNS Name Redirection”, and specified again in June 2012 in RFC 6672, “DNAME Redirection in the DNS”, which replaced it. As of October 2026, RFC 6672 is the current specification. Neither document spells out what the letters stand for; the IANA Internet Assigned Numbers Authority The functions that coordinate the root zone, IP addresses and protocol numbers. Full definition of IANA registry The central database and system of a top-level domain, or loosely the organization that runs it. Full definition of registry lists record type 39 simply as “DNAME”.

The record sits at one name, the owner, and points to another, the target. When a name below the owner is looked up, the server swaps the owner part at the end of the name for the target, and the lookup starts again with the new name. Only whole label One dot-separated part of a domain name, up to 63 characters long. Full definition of label are swapped.

RFC 6672 says DNAME was conceived for reverse (address-to-name) mappings when networks are renumbered. It also names a second use: aliasing whole name spaces, for example Punycode The encoding that turns internationalized domain names into ASCII starting with xn--. Full definition of Punycode alternates.

DNAME versus CNAME

  • A CNAME redirects exactly one name, its owner, and under RFC 1034 that name should hold no other data.
  • A DNAME redirects every name below its owner, but not the owner itself, which may keep other records such as MX, or the SOA record Start of Authority The record at the top of a DNS zone holding its serial number and timing settings. Full definition of SOA record and NS record Name Server record A DNS record that lists the name servers responsible for a domain. Full definition of NS record at the top of a zone.

A name may have only one DNAME, and never a DNAME and a CNAME together.

Not every resolver The DNS server that looks up domain names on behalf of users. Full definition of resolver understands DNAME, since it came years after the first DNS software. So the server also adds a synthesized CNAME to its answer: an alias for the exact name asked, with the DNAME’s TTL Time to Live How long resolvers may keep a saved copy of a DNS record. Full definition of TTL. Older resolvers simply follow that CNAME.

How a whole branch of names is redirected

RFC 6672 gives an example with reserved name A name a registry withholds from normal registration, by rule or by its own choice. Full definition of reserved name. With one DNAME at example.com pointing to example.net:

  • a.example.com becomes a.example.net.
  • a.b.example.com becomes a.b.example.net.
  • www.foo.example.com becomes www.foo.example.net.
  • example.com itself is not redirected.

One record covers every name below, including names created later.

RFC 7535 (May 2015) shows a working use. The AS112 project runs servers that absorb stray reverse lookups. Instead of delegating each such zone to them, operators add a DNAME pointing to EMPTY.AS112.ARPA, so branches can be added or removed without reconfiguring those servers.

Use with IDN variants

An IDN variant A label treated as equivalent to another because its characters are interchangeable. Full definition of IDN variant is an alternative form of an internationalized name that should behave like the original. RFC 6927 (May 2013), a snapshot of registry practice as of late 2012, describes two main ways to make variants resolve: “parallel NS”, where every name in a bundle is delegated to the same name server A server that holds a domain's DNS records and answers lookups. Full definition of name server, and “DNAME aliasing”.

In that 2012 snapshot, .cat made each IDN Internationalized Domain Name A domain name written in local scripts or with accented letters. Full definition of IDN a DNAME alias of its ASCII American Standard Code for Information Interchange The basic set of English letters, digits and symbols that the DNS was built on. Full definition of ASCII form, and .gr linked the accented Greek form of a name to the unaccented form with a DNAME. That was 2012 practice. As of October 2026, the .gr registry still says the accented form is associated with the unaccented one “with the use of DNAME”. The current .cat rules still link each IDN with its ASCII equivalent “in all respects” but do not say how the two are set up in the DNS.

At the top level, ICANN Internet Corporation for Assigned Names and Numbers The nonprofit that coordinates the global DNS and gTLD policy. Full definition of ICANN took a different route. Its 2012 study of IDN variants warned that aliasing works in one direction only, that applications do not know about the alias, and that a DNAME in the root would be “an innovation”. As of October 2026, the root zone The top of the DNS, listing every TLD and its name servers. Full definition of root zone contains no DNAME record. ICANN’s recommendations of 25 January 2019, which do not mention DNAME, treat each delegated IDN variant TLD A TLD treated as the same as another one written with different characters. Full definition of IDN variant TLD as “just another TLD top-level domain The last part of a domain name, after the final dot. Full definition of TLD” held by the same entity, and allow second-level names under variant TLDs to differ, which an exact mirror would not.

At the second level, as of October 2026, neither ICANN’s Registry Agreement The contract between ICANN and a gTLD registry operator. Full definition of Registry Agreement (version approved 21 January 2024) nor the final report of 7 October 2024 on second-level IDN variants mentions DNAME. The agreement leaves variants to each registry’s own IDN policy.

Limits and common mistakes

  • Nothing may exist below a DNAME owner. Adding a DNAME hides (“occludes”) any names already there.
  • A DNAME at the top of a zone does not mirror the zone completely, because the top name is not redirected. Records such as MX there must be repeated in the target zone.
  • MX, NS, SRV record Service A DNS record giving the server and port for a specific service on a domain. Full definition of SRV record and PTR record Pointer A DNS record that maps an IP address back to a hostname. Full definition of PTR record must not point to names under a DNAME; they must use the target names.
  • A DNAME on a wildcard name should not be used (RFC 4592, RFC 6672).
  • DNAMEs and CNAMEs can chain into loops, and a rewritten name can exceed the 255-octet limit, which returns an error.
  • With DNSSEC Domain Name System Security Extensions Digital signatures that prove DNS answers are genuine and unchanged. Full definition of DNSSEC, the DNAME is signed but the synthesized CNAME never is. Validating resolvers must understand DNAME.
  • Services must be set up for the alias names too. ICANN’s 2012 study notes that mail to an alias can be rejected, or disappear, if the mail server does not know to accept it; TLS Transport Layer Security The standard that encrypts connections between a browser or app and a server. Full definition of TLS certificates are likewise tied to the name used.

Whether DNAME suits a setup depends on the software and registry involved; operators should check with their DNS provider A company that runs the name servers for a domain, which may differ from the registrar. Full definition of DNS provider or registry.

Sources