handle missing dns.resolver library quietly