code: def reconfigure_resolver():
      
  
      global _state
      _state.resolver = dns.resolver.Resolver()
      _state.overridden_resolver = False
docs: Reset the resolver configured for this thread to a fresh instance. This
      essentially re-reads the system-wide resolver configuration.
  
      If a custom resolver has been set using :func:`set_resolver`, the flag
      indicating that no automatic re-configuration shall take place is cleared.