diff --git a/src/dns.py b/src/dns.py index d165761ba..7c5fd2220 100644 --- a/src/dns.py +++ b/src/dns.py @@ -482,7 +482,7 @@ def _get_dns_zone_for_domain(domain): zone = parent_list[-1] # Adding this otherwise the CI is flooding about those ... - if domain not in ["example.tld", "sub.example.tld"]: + if domain not in ["example.tld", "sub.example.tld", "domain.tld"]: logger.warning( f"Could not identify correctly the dns zone for domain {domain}, returning {zone}" )