Wiki

What is ALIAS Record?

ALIAS record is a type of DNS record build in the ClouDNS, which works in a similar way as the CNAME record. The ALIAS record allows you to add multiple hostnames for the same subdomain and can be used for the root domain too. This new build in our system type of DNS record gives you a chance to make a Round-Robin DNS between multiple CNAME and A records. All added ALIAS records are updated by our system in a short period of time and when you make a DNS request at the hostname with such record, you will receive an answer with a pure A or/and AAAA records. This type of DNS record can be added and managed from our control panel or via the HTTP API.

The ALIAS record has the following look in your ClouDNS Control Panel:

Host: Type: Points to: TTL
example.net ALIAS example.com 1 Hour

 

How to add ALIAS record?

Go to your Control Panel and click on “Add new record”. Type, as follow:
Type: ALIAS
TTL:  1 Hour
Host:
Points to: example.com

 

Combination of ALIAS record and other records

The ALIAS record can be combined with all the types of DNS records except CNAME and Web Redirect.

Here is an example configuration for your web site and domain name in the combination with other records:

Host: Type: Points to: TTL
example.net NS dns1.cloudns.net 1 Hour
example.net NS dns2.cloudns.net 1 Hour
example.net NS dns3.cloudns.net 1 Hour
example.net NS dns4.cloudns.net 1 Hour
example.net ALIAS cdn.example.com 1 Hour
example.net A 192.168.0.1 1 Hour
example.net AAAA fe80::736b:828f:f290:d424 1 Hour
example.net MX mail.example.net 1 Hour
www.example.net ALIAS example.net 1 Hour
mail.example.net A 192.168.0.2 1 Hour

 As you can see from the example:

  • The root domain name example.net has properly configured NS records
  • The root domain name will have A and AAAA record pointed to the servers 192.168.0.1 , fe80::736b:828f:f290:d424, and also the A and AAAA records which will come from the ALIAS to cdn.example.com
  • The root domain name has correctly configured MX record for the mails send to @example.net to mail.example.net
  • The www.example.net sub-domain name will have the all A and AAAA records of example.net which includes 192.168.0.1 , fe80::736b:828f:f290:d424, and also the A and AAAA records which will come from the ALIAS to cdn.example.com
  • The mail.example.net will be pointed to 192.168.0.2 and all mails send to @example.net will arrive to this server
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more