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