def default_resolver():
 if DNSPYTHON_AVAILABLE:
  return dns.resolver.get_default_resolver()
 return None

def default_resolver ( ) : if DNSPYTHON_AVAILABLE : return dns . resolver . get_default_resolver ( ) return None
return a basic dns resolver object .