Catch dns.resolver.NoNameservers.