Part of twisted.names.client View Source
| Parameters | servers | If not None, interpreted as a list of domain name servers to
attempt to use. Each server is a tuple of address in str
dotted-quad form and int port number. (type: list of (str, int) or None) |
| resolvconf | If not None, on posix systems will be interpreted as an
alternate resolv.conf to use. Will do nothing on windows systems. If
None, /etc/resolv.conf will be used. (type: str or None) | |
| hosts | If not None, an alternate hosts file to use. If
None on posix systems, /etc/hosts will be used. On windows,
C:\windows\hosts will be used. (type: str or None) | |
| Returns | (type: IResolver) | |