MCPcopy Create free account
hub / github.com/rthalley/dnspython / reset_default_resolver

Function reset_default_resolver

dns/asyncresolver.py:274–282  ·  view source on GitHub ↗

Re-initialize default asynchronous resolver. Note that the resolver configuration (i.e. /etc/resolv.conf on UNIX systems) will be re-read immediately.

()

Source from the content-addressed store, hash-verified

272
273
274def reset_default_resolver() -> None:
275 """Re-initialize default asynchronous resolver.
276
277 Note that the resolver configuration (i.e. /etc/resolv.conf on UNIX
278 systems) will be re-read immediately.
279 """
280
281 global default_resolver
282 default_resolver = Resolver()
283
284
285async def resolve(

Callers 1

get_default_resolverFunction · 0.70

Calls 1

ResolverClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…