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.

ParametersnameDNS name to resolve. (type: str)
timeoutNumber of seconds after which to reissue the query. When the last timeout expires, the query is considered failed. (type: Sequence of int)
effortHow many times CNAME and NS records to follow while resolving this name. (type: int)
Returns (type: Deferred)
API Documentation for Twisted, generated by pydoctor at 2016-07-06 22:44:36.