Write the dnsmasq address config after writing json