Skip to main content

Manuale Utente (Inglese)

Configuring DNS Alias (CNAME)

My ISP provides me with a dynamic external IP address from the global IPv4 address range. A dynamic DNS service profile has been set up to access the router from the internet. Is it possible to add a new domain name (alias) to access the router, and if so, how?

To enable an additional domain name to point to the router's address on the global network, you can use a CNAME domain record.

A DNS Alias (CNAME) is a type of record that allows you to create aliases, or pseudonyms, for existing address records (DNS Host; type A). When a DNS client requests an IP address of this type, it receives the IP address specified in the main record to which the alias is linked. This can be useful if you want a host that is accessible under multiple names. Although you can create multiple address records, the alias option is more convenient because if a host's IP address changes, you do not need to change anything in the aliases. With multiple address records, you would have to make changes to each record.

Let's have a look at setting up a DNS Alias (CNAME) using the No-IP dynamic DNS service as an example.

cname-01-en.png

By clicking the Create Hostname button, you will proceed to adding a new host to your account. Here, you should select the name of the new host (in the Hostname field), set the Record Type switch to DNS Alias (CNAME), and enter the domain name specified in the DDNS profile configured on the router in the Target field. When you click the Create Hostname button, a new domain name will be created in your account, and when accessed, the service will redirect to the address assigned to your device.

cname-02-en.png

So, in our example, the router is initially configured to use the dynamic domain name myrouter01.zapto.org (this is a DNS Host A type name and is specified in the Target field), and an additional alias, alias01.ddns.net, has been added (the router will now also be accessible from the global network via this domain name).

cname-03-en.png