handle NXDOMAIN errors a bit more gracefully