Add support for setting up dnsmasq on private network.