Handles error (silently) if dns check fails for any reason.