dnsmasq: make the check for existing DHCP servers more reliable