Fix IPv6 resolving with aiodns 1.0
This commit is contained in:
parent
4dba697075
commit
c17fc3a869
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ def get_AAAA(host, resolver=None, use_aiodns=True, loop=None):
|
|||
except Exception as e:
|
||||
log.debug('DNS: Exception while querying for %s AAAA records: %s', host, e)
|
||||
recs = []
|
||||
return recs
|
||||
return [rec.host for rec in recs]
|
||||
|
||||
@asyncio.coroutine
|
||||
def get_SRV(host, port, service, proto='tcp', resolver=None, use_aiodns=True):
|
||||
|
|
Loading…
Reference in a new issue