change the way resolv.conf is being created, so that it also works when dnsmasq is...