use resolvconf/dns-nameservers instead of direct writing to /etc/resolv.conf