Reference tickets

This commit is contained in:
Tom Most 2020-01-07 20:41:11 -08:00
parent d3b56a330d
commit 5353b8fba9
1 changed files with 2 additions and 1 deletions

View File

@ -180,6 +180,7 @@ class ResolverBase:
name = dns.domainString(name)
# XXX - respect timeout
# 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.addCallback(self._cbRecords, name, effort)
return d
@ -223,7 +224,7 @@ def extractRecord(resolver, name, answers, level=10):
if not level:
return None
# 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'):
for r in answers:
if r.name == name and r.type == dns.A6: