handle the case when hosts.dnsmasq is not available