Caught OSError when querying AAAA records.

This commit is contained in:
Jake Basile 2013-07-18 08:25:28 -05:00
parent eb63825dfd
commit 262652992d

View file

@ -210,6 +210,10 @@ def get_AAAA(host, resolver=None):
log.debug("DNS: Error retreiving AAAA address " + \
"info for %s." % host)
return []
except OSError:
log.debug("DNS: Error retreiving AAAA address " + \
"info for %s." % host)
return []
# Using dnspython:
try: