Web lists-archives.com

Re: how to remove a file and change dns server

On Mon, Jul 09, 2018 at 12:55:21AM +0000, Long Wind wrote:
>  -rw-r--r-- 1 root root 51 May 15 20:52 /etc/resolv.conf
>    i can't remove file above, the story behind it:
>    dns servers are usually provided by isp
>    but they can't be used with vpn
>    so vpn provider told me to make a special resolv.conf
>    which contains dns servers not provided isp
>    dns server by vpn provider is useful when i visit blocked sites
>    but they are not as fast as those by isp
>    my question is  how to change dns server as needed?
>    it seem that resolv.conf is automatically managed
>    and how to remove the special resolv.conf

Your resolv.conf is probably managed by dhclient (or a similar package).
This discussion thread from last year may provide the information you


Roberto C. Sánchez