Properly build dnsmasq configuration when custom DNS servers are supplied