Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert between the API implictily absolute and DO standard record names
Previously, this DNS provider incorrectly assumed that DNS records passed to it followed the standard notation, used by the DigitalOcean API, that absolute DNS record names end with a dot, and relative DNS record names don't. This is incorrect because libdns uses de-facto implicitly absolute DNS record names with a dot suffix, which causes any DNS record added with eg certmagic to incorrectly be treated as relative, resulting in records like: _acme-challenge.example.org.example.org This fixes this issue by converting between the standard dot-suffix DNS record name notation used by the DigitalOcean API and the implicitly absolute record names used by libdns. See: libdns/libdns#12
- Loading branch information