Part of twisted.names.client View Source
Resolve a name to a valid ipv4 or ipv6 address.
Will errback with DNSQueryTimeoutError on a timeout,
DomainError or AuthoritativeDomainError (or
subclasses) on other errors.
| Parameters | name | DNS name to resolve. (type: str) |
| timeout | Number of seconds after which to reissue the query. When the last timeout
expires, the query is considered failed. (type: Sequence of int) | |
| effort | How many times CNAME and NS records to follow while resolving this name. (type: int) | |
| Returns | (type: Deferred) | |