_acme-challenge TXT record in DNZ and remove it
afterwards.
For the CA to see the record, DNZ must be the zone’s public nameserver (the zone is delegated to
DNZ), or
_acme-challenge in public DNS must be a CNAME to a name DNZ serves.Create a token
Under Settings → API tokens → Create token, give the tokenrecords.write, preferably limited
to the zones that need certificates. Or:
Configure your client
- lego
- Traefik
- certbot
Other ways
- RFC 2136: certbot’s
dns-rfc2136plugin and lego/Traefik’srfc2136provider can use a TSIG key limited toTXTat_acme-challenge.*. See Dynamic updates. - dnz-proxy gets certificates itself, with no client to run. See Certificates.
- DNZ’s own certificate for DoT/DoH can come from lego with this endpoint. See Encrypted DNS.