Better handling errors and missing DNS records