ubuntu重启DNS被清空FIX

时间:2016-03-25 17:19:00 +0800

修改 /etc/resolvconf/resolv.conf.d/tail文件

里面写上DNS就OK

如果没有文件夹就新建

例:

root@ubuntu:~# cat /etc/resolvconf/resolv.conf.d/tail


nameserver 114.114.114.114
nameserver 223.5.5.5
×

Subscribe

The latest tutorials sent straight to your inbox.