DNS records of the ALIAS type

An ALIAS record closely resembles a CNAME record, but is intended for use on the root of a domain (for example example.com). According to the DNS standard, you cannot use a CNAME record on the root, because it conflicts with other mandatory records such as NS and SOA. An ALIAS record provides a solution for this.

How does an ALIAS record work?

An ALIAS record is not published directly in the DNS zone, as a CNAME is. Instead, the nameserver translates it into one or more A/AAAA records before it is served to the outside world. To the outside world, it therefore appears as if regular A records exist.

Implementation at bHosted

At bHosted, this conversion does not take place at query time (i.e. not at the moment someone performs a lookup), but when the zone is updated or refreshed.

The zone is rebuilt as soon as you make a change to the zone file. In addition, every zone automatically refreshes by default every 3 hours. Would you like this to happen faster? Then you can ask us to change this 3-hour interval to a shorter time.

Why this approach?

The reason we perform the conversion at update time instead of at every query has everything to do with DNSSEC.

If we translated it on every query, the DNSSEC signatures would have to be regenerated continuously. Because an ALIAS record can resolve to varying A records each time, this is impractical and error-prone. By fixing the conversion when the zone is refreshed, the DNSSEC signature remains stable and reliable.

Related articles