A look at ANAME record and how to set it up in the ArvanCloud user panel

The ANAME record can be considered as the combination of CNAME record and A record. The function of this record is similar to the CNAME record: both of them allow a domain to refer to another domain. The difference is that CNAME record only maps a domain to another domain, but ANAME record directly maps a domain to the IP address of another domain. The CNAME record also cannot be used for mapping the root address to another address, while this is possible with ANAME record.


Examining an example of how CNAME record functions

By using the CNMAE record, any DNS record in the domain (except root), such as, can be mapped to another DNS, such as Meaning that if the user enters the web address of into his/her browser, the user will receive his/her reply from Using this record leads to at least one additional DNS lookup. To better understand this, consider the following steps :

  • The user enters the address of into his/her browser, and the browser sends the request for accessing this address to the Recursive Resolver. The Recursive resolver is referred to as the DNS server that is specified for the user by the ISP, or any other DNS server that is aware of other DNS servers that can respond to this request.
  • Recursive resolver, by observing the address, sends a request regarding the .com domain for the root name server. Root name servers are the holders of DNS information associated with Top Level Domain (TLDs). TLDs are also referred to domains such as .org, .com, and etc.
  • Root name server, in response to this request received, sends the IP address of to the Recursive Resolver.
  • A recursive resolver sends a request for accessing .com for the TLD that has received its IP address. TLDs are the holders of DNS information of their sub-domains (for example, in here, holds the information of example).
  • By receiving this request, sends the IP address of com to the Recursive Resolver.
  • In the next step, the recursive resolver sends a request for com in order to receive the IP address of record.
  • In response to this request received, it sends the record.
  • The browser receives this request and after saving it in its cache, it will again go through the steps above to get the IP address of

Although each of these steps takes only a few milliseconds, however, they can lead to a significant delay in the access of end-user to the website contents.

By using the ANAME record, steps similar to those described above are followed, with only a difference in step 6, instead of record, its IP address is immediately sent to the browser. Removing this step leads to reduced delays in the access of the end-user to the content.


Setting up the ANAME record in AravanCloud user panel

To define an ANAME record in the ArvanCloud user panel, go to “CDN” -> “DNS Records”, specify the record type to ANAME. Then, in the Title section, enter the record you wanted to map it to another domain, and in the Value section, enter the name of the domain that this record should be mapped to.