Reference tickets
This commit is contained in:
parent
d3b56a330d
commit
5353b8fba9
|
@ -180,6 +180,7 @@ class ResolverBase:
|
||||||
name = dns.domainString(name)
|
name = dns.domainString(name)
|
||||||
# XXX - respect timeout
|
# XXX - respect timeout
|
||||||
# XXX - this should do A and AAAA lookups, not ANY (see RFC 8482).
|
# XXX - this should do A and AAAA lookups, not ANY (see RFC 8482).
|
||||||
|
# https://twistedmatrix.com/trac/ticket/9691
|
||||||
d = self.lookupAllRecords(name, timeout)
|
d = self.lookupAllRecords(name, timeout)
|
||||||
d.addCallback(self._cbRecords, name, effort)
|
d.addCallback(self._cbRecords, name, effort)
|
||||||
return d
|
return d
|
||||||
|
@ -223,7 +224,7 @@ def extractRecord(resolver, name, answers, level=10):
|
||||||
if not level:
|
if not level:
|
||||||
return None
|
return None
|
||||||
# FIXME: twisted.python.compat monkeypatches this if missing, so this
|
# FIXME: twisted.python.compat monkeypatches this if missing, so this
|
||||||
# condition is always true.
|
# condition is always true. https://twistedmatrix.com/trac/ticket/9753
|
||||||
if hasattr(socket, 'inet_ntop'):
|
if hasattr(socket, 'inet_ntop'):
|
||||||
for r in answers:
|
for r in answers:
|
||||||
if r.name == name and r.type == dns.A6:
|
if r.name == name and r.type == dns.A6:
|
||||||
|
|
Loading…
Reference in New Issue