Does Certbot follow ALIAS DNS records?

I need to set up Let’s Encrypt for a website whose domain name is an ALIAS of the hostname where it runs. Both https://mywebsitename.com and https://myhostname.com need to work. For the hostname, Certbot should work, since it’s an A record. Will it work for the website name, which is an ALIAS, or does its DNS record need to be changed to an A record?

If I'm reading this blog post correctly, ALIAS is a DNSimple-specific thing. This is similar to what Cloudflare calls CNAME flattening. From the point-of-view of a DNS resolver, it's just another A record:

Externally, the ALIAS record behaves like an A record returning one or more A records matching the alias target. [...]

So yeah, this should work.

2 Likes

There is no ALIAS record: http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml

I don’t know why they confuse people by using a common semantic for a made-up thing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.