We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dece6b0 commit 1ae8c5aCopy full SHA for 1ae8c5a
1 file changed
nxc/protocols/ldap.py
@@ -1650,7 +1650,7 @@ def bloodhound(self):
1650
self.logger.debug("Using DNS to retrieve domain information")
1651
try:
1652
ad.dns_resolve(domain=self.domain)
1653
- except resolver.LifetimeTimeout:
+ except (resolver.LifetimeTimeout, resolver.NoNameservers):
1654
self.logger.fail("Bloodhound-python failed to resolve domain information, try specifying the DNS server.")
1655
return None
1656
0 commit comments