From 29a452c1d38e7f1c47ccc66cea12791d854d4bae Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 29 Nov 2023 00:28:17 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20warnings=20about=20'not=20identify=20corr?= =?UTF-8?q?ectly=20the=20dns=20zone=20for=20domain'=20driving=20me=20crazy?= =?UTF-8?q?=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" )