|
|
@ -354,7 +354,6 @@ def patch_create_connection():
|
|
|
|
return _orig_create_connection((ip, port), *args, **kwargs)
|
|
|
|
return _orig_create_connection((ip, port), *args, **kwargs)
|
|
|
|
except dns.exception.DNSException:
|
|
|
|
except dns.exception.DNSException:
|
|
|
|
logger.warning("DNS: Couldn't resolve %s with DNS: %s", host, custom_resolver.nameservers)
|
|
|
|
logger.warning("DNS: Couldn't resolve %s with DNS: %s", host, custom_resolver.nameservers)
|
|
|
|
raise
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.debug("DNS: Falling back to default DNS or IP on %s", host)
|
|
|
|
logger.debug("DNS: Falling back to default DNS or IP on %s", host)
|
|
|
|
return _orig_create_connection((host, port), *args, **kwargs)
|
|
|
|
return _orig_create_connection((host, port), *args, **kwargs)
|
|
|
|