twisted.names.client.Resolver.lookupZone(self, name, timeout=10)
method documentationtwisted.names.client.Resolver
View Source
Perform an AXFR record lookup.
NB This is quite different from other DNS requests. See http://cr.yp.to/djbdns/axfr-notes.html for more information.
NB Unlike other lookup*
methods, the timeout here is not a list of ints, it is a single int.
Parameters | name | DNS name to resolve. (type: bytes or str ) |
timeout | When this timeout expires, the query is considered failed. (type: int ) | |
Returns | A Deferred which fires with a three-tuple of lists of twisted.names.dns.RRHeader instances. The first element of the tuple gives answers. The second and third elements are always empty. The Deferred may instead fail with one of the exceptions defined in twisted.names.error or with NotImplementedError . (type: Deferred ) |
Function | eliminateTimeout | Undocumented |