Interpret the response to a query, checking for error codes and following delegations if necessary.

ParametersresponseThe Message received in response to issuing query. (type: Message)
queryThe dns.Query which was issued. (type: dns.Query.)
timeoutThe timeout to use if another query is indicated by this response. (type: tuple of int)
queriesLeftA int giving the number of queries which may yet be attempted to answer this query before the attempt will be abandoned.
ReturnsA Failure indicating a response error, a three-tuple of lists of twisted.names.dns.RRHeader giving the response to query or a Deferred which will fire with one of those.
Function findAnswerOrCName Undocumented
Function cbResolved Undocumented
Function getOneAddress Undocumented
def findAnswerOrCName(name, type, cls): (source)
Undocumented
def cbResolved(results): (source)
Undocumented
def getOneAddress(results): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.