Incorrect DNS entries created for national TLDs
Closed this issue · 1 comments
thecontrarycat commented
Issue
It is currently impossible to create certificates for domains hosted by national registries (e.g. .co.uk) due to the way the DNS record is being created.
Reproduction
- Try to create a certificate for
www.domain.co.uk
. - Note that
AppProperty.BaseDomain == ".co.uk"
and therefore - The DNS entry in the domain.co.uk root gets created as _acme-challenge.www.domain instead of _acme-challenge.www
Solution
Use the name of the zone in Azure DNS as the BaseDomain as this is the way Azure DNS works.
n3wt0n commented
Good catch. I didn't think of that.