added check if dnsmasq is running