twisted.names.client.Resolver._lookup(self, name, cls, type, timeout) method documentationtwisted.names.client.Resolver
View Source
Build a dns.Query for the given parameters and dispatch it via UDP.
If this query is already outstanding, it will not be re-issued. Instead, when the outstanding query receives a response, that response will be re-used for this query as well.
| Returns | A Deferred which fires with a three-tuple giving the answer, authority, and additional sections of the response or with a Failure if the response code is anything other than dns.OK. | |
| Function | cbResult | Undocumented |