use DNS lookup for network check