diff --git a/certbot_dns_hetzner/dns_hetzner.py b/certbot_dns_hetzner/dns_hetzner.py index 2a9abea..811277e 100644 --- a/certbot_dns_hetzner/dns_hetzner.py +++ b/certbot_dns_hetzner/dns_hetzner.py @@ -44,7 +44,8 @@ def _setup_credentials(self): @staticmethod def _get_zone(domain): - zone_name = tldextract.extract(domain) + extract = tldextract.TLDExtract() + zone_name = extract(domain, include_psl_private_domains=True) return '.'.join([zone_name.domain, zone_name.suffix]) def _perform(self, domain, validation_name, validation):