catch Net::DNS::Resolver::Error during queries