The DNAME record provides redirection from a part of the DNS name tree to another part of the DNS name tree. The DNAME and CNAME records both cause a lookup to (potentially) return data corresponding to a domain name different from the queried domain name. The difference between the two resource records is that the CNAME directs the lookup of data at its owner to another single name, whereas a DNAME directs lookups for data at descendants of its owner's name to corresponding names under a different (single) node of the tree.
The DNAME record has the following look in your DNS zone management page:
The DNAME record should be used when you want to redirect an entire branch of the DNS hierarchy to a new domain name. It simplifies DNS management by redirecting multiple subdomains with just a single record. It is especially valuable during domain name changes and regional redirection. With DNAME records, administrators can efficiently manage large-scale domain infrastructures, delegate subdomains, and ensure smooth DNS resolution across the network. However, careful consideration and testing are essential to prevent potential issues.
Log in to your ClouDNS account, enter your DNS zone management page, and click on the Add new record button. For Type choose "DNAME" and type as follow:
*This hostname is used as an example.
You can quickly check the DNAME record for a domain name by using one of the following commands based on our OS (Operating System):
If you are a Windows user, you can open the Command Prompt and check your DNAME records via Nslookup. Here is an example:
$ nslookup -q=DNAME example.com
If you are a Linux/macOS user, you can open the Terminal and check your DNAME record via DIG. Here is an example:
$ dig example.com DNAME
In case you prefer to use an online tool, you can check your DNAME record with the ClouDNS Free DNS tool.
ClouDNS provides full support for DNAME records for all our DNS services, including the listed below. Just write to our technical support, if you need any assistance with your DNAME records configuration. Our Technical Support team is online for you 24/7 via live chat and tickets.
Question: Are there any potential issues with using DNAME records?
Answer: DNAME records are powerful but require careful consideration and testing. Compatibility with DNS servers should be verified before implementation. Improper use can lead to cyclic redirection loops, DNS resolution problems, and performance issues.
Question: What impact do DNAME records have on DNS resolution?
Answer: Implementing DNAME records may introduce a slight delay in DNS resolution due to the redirection process. However, the impact is usually minimal.
Question: Should I use DNAME records for small-scale domain management?
Answer: Carefully evaluate the use cases for DNAME records. Overusing them for small-scale domain management might complicate DNS resolution and lead to inefficiencies.