twisted.names.root.bootstrap(resolver, resolverFactory=None)
function documentationtwisted.names.root
View Source
Lookup the root nameserver addresses using the given resolver
Return a Resolver which will eventually become a root.Resolver
instance that has references to all the root servers that we were able to look up.
Parameters | resolver | The resolver instance which will be used to lookup the root nameserver addresses. (type: twisted.internet.interfaces.IResolverSimple ) |
resolverFactory | An optional callable which returns a resolver instance. It will passed as the resolverFactory argument to Resolver.__init__ . (type: callable) | |
Returns | A DeferredResolver which will be dynamically replaced with Resolver when the root nameservers have been looked up. |
Function | buildResolver | Undocumented |