Go to the latest version of this document.
t.n.c.createResolver(servers=None, resolvconf=None, hosts=None) : function documentation
Part of twisted.names.client
Create and return a Resolver.
|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
dotted-quad form and
int port number. (type:
(str, int) or
|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:
|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:
|Returns|| (type: |
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.