print friendly error warning when DNS resolution fails