added sudo, changed dnsmasq setup to handle dynamic ips