Caught OSError when querying AAAA records.
This commit is contained in:
parent
eb63825dfd
commit
262652992d
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue