diff --git a/baddns/lib/dnsmanager.py b/baddns/lib/dnsmanager.py index 3fba371..6ddb31f 100644 --- a/baddns/lib/dnsmanager.py +++ b/baddns/lib/dnsmanager.py @@ -120,7 +120,7 @@ async def do_resolve(self, target, rdatatype): r = self.process_answer(await self.dns_client.resolve(target, "CNAME"), "CNAME") if len(r) == 0: break - except (dns.resolver.NoAnswer, dns.resolver.NXDOMAIN) as e: + except (dns.resolver.NoAnswer, dns.resolver.NXDOMAIN, dns.resolver.NoNameservers) as e: log.debug(f"Error resolving cname chain: {e}") break return cname_chain