Home
Lookup Tools
Analysis
Bulk & Enterprise
Resources
Close

DNAME Record Alias

The DNAME record (Delegation Name) creates an alias for an entire subtree of the domain name space. While a CNAME record creates an alias for a single name, a DNAME redirects all names under a domain to another domain.

Look Up DNAME Records

Check DNAME records for any domain using our free DNS lookup tool.

Look Up DNAME Records →

What Is a DNAME Record?

A DNAME record substitutes one domain name for another at the DNS level. When a query matches a DNAME record, the queried name is rewritten by replacing the DNAME owner with the target.

Think of it as a "bulk redirect" — instead of creating individual CNAME records for every subdomain, a single DNAME record handles all of them automatically.

DNAME Record Format

Example DNAME Record

old.example.com.    3600    IN    DNAME    new.example.com.

All queries for anything.old.example.com will be rewritten to anything.new.example.com.

How DNAME Works

When a resolver queries for a name under a DNAME:

  1. Query: "What is the A record for api.old.example.com?"
  2. DNAME record found: old.example.com → new.example.com
  3. Name rewritten: api.old.example.com → api.new.example.com
  4. Resolver queries: "What is the A record for api.new.example.com?"
  5. Returns synthesized CNAME + final answer

DNAME vs CNAME

Aspect CNAME DNAME
Scope Single name Entire subtree
Example www → other.com old.* → new.*
Affects owner name Yes No (only subdomains)
Can coexist No other records Can have other records
Use case Simple alias Domain migration

Common DNAME Use Cases

1. Domain Migration

Redirect all subdomains from old domain to new domain:

old-company.com.    DNAME    new-company.com.

This redirects shop.old-company.com → shop.new-company.com, etc.

2. Reverse DNS Delegation

DNAME is commonly used in IPv6 reverse DNS:

8.b.d.0.1.0.0.2.ip6.arpa.    DNAME    ip6.example.com.

3. Organizational Restructuring

Redirect a department's subdomain to a new location:

engineering.old.example.com.    DNAME    engineering.new.example.com.

DNAME Restrictions

DNAME Best Practices

Synthesized CNAMEs

When a resolver encounters a DNAME, it synthesizes a CNAME record for the queried name. The response includes both the DNAME and the synthesized CNAME:

Query: api.old.example.com A

Answer:
old.example.com.      DNAME   new.example.com.
api.old.example.com.  CNAME   api.new.example.com.
api.new.example.com.  A       192.0.2.1

Troubleshooting DNAME

Common issues and solutions:

Check Your DNAME Records

Use our DNS Record Finder to look up DNAME records for any domain.

Look Up DNAME Records →

Related Record Types