Jump to content

Recommended Posts

Posted

DNS DNAME

A DNS DNAME (Delegation Name) record is a less commonly used type of DNS record that allows for the redirection of an entire subtree of a domain to another domain. It’s similar to a CNAME record, but it can apply to multiple subdomains under the delegated domain rather than just a single alias.

How a DNAME Record Works:

A DNAME record allows you to redirect all subdomains of a domain to another domain, making it simpler to delegate large sections of a domain space.

For example, if you create a DNAME record for sub.example.com pointing to otherdomain.com, then all subdomains under sub.example.com will automatically be redirected to otherdomain.com.

Example:

Record Type: DNAME

Hostname: sub.example.com

Value: otherdomain.com

This would cause the following mappings:

foo.sub.example.com → foo.otherdomain.com

bar.sub.example.com → bar.otherdomain.com

This redirection applies to all subdomains under sub.example.com.

DNAME vs. CNAME Records:

FeatureCNAME RecordDNAME Record

ScopeMaps a single domain to another domainMaps an entire subtree of domains to another domain

Applies toOnly the specified domainAll subdomains under the specified domain

UsagePoint individual domain names to another domainPoint an entire hierarchy of subdomains to another domain

LimitationsCannot be used on root domainCannot be used on root domain, can affect many subdomains

When to Use a DNAME Record:

Subdomain Redirection:
Use a DNAME record when you want to apply redirection to multiple subdomains at once.

Domain Migration:
If you're migrating an entire subtree of your domain (e.g., from example.com to newdomain.com), a DNAME record can help simplify the process.

Important Notes:

Not widely supported by all DNS resolvers, as it’s a less common feature compared to CNAME records.

Unlike CNAME, DNAME can affect entire branches of your domain.

  • Nulledin changed the title to DNS DNAME (Delegation Name) Record

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms and Conditions