manage resolv.conf