Better zone handling

This commit is contained in:
Curtis Castrapel
2018-08-16 10:12:19 -07:00
parent e050177c08
commit da99bcda68
7 changed files with 36 additions and 19 deletions

View File

@ -212,6 +212,8 @@ class AcmeHandler(object):
"""
self.dns_providers_for_domain[domain] = []
for dns_provider in self.all_dns_providers:
if not dns_provider.domains:
continue
for name in dns_provider.domains:
if domain.endswith(name):
self.dns_providers_for_domain[domain].append(dns_provider)