check dnsmasq config file if is empty raise an error