
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 ALIAS and A/AAAA 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:
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:
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
Originally published at https://www.cloudns.net/wiki