Permanent added in DNS method Ubuntu 14.04 64bit

 

sudo vim /etc/resolvconf/resolv.conf.d/base

nameserver 8.8.8.8
nameserver 202.106.196.115
nameserver 202.106.0.20
nameserver 114.114.114.114


After a good save changes, and then execute
sudo / sbin / resolvconf -u
or
sudo etc / init.d / resolvconf restart
or
reboot the system, and then view the file /etc/resolv.conf, what we have added plus the
cat / etc /resolv.conf


References
[. 1]. Http: //blog.csdn.net/yangcs2009/article/details/26674311
[2]. Http: //www.linuxidc.com/Linux/2009-08/21425.htm solution in the article Finally,
[3] .http: //www.tuicool.com/articles/iiUjAj this is the ultimate solution
[4] .http: //askubuntu.com/questions/130452/how-do-i-add-a-dns Via the resolv----server the conf
[. 5]. Http: //www.tuicool.com/articles/RVZn2y Ubuntu 14.04 for the
https://blog.csdn.net/tao_627/article/details/47909699

Guess you like

Origin www.cnblogs.com/sea-stream/p/11129914.html