[Linux]Debian 9重启DNS重置问题

先编辑/etc/resolv.conf, 添加一个DNS, 比如114.114.114.114

然后sudo apt-get install resolvconf

然后编辑/etc/resolvconf/resolv.conf.d/original, 添加DNS设置, /etc/resolv.conf就会自动同步

 

挺操蛋的

posted @ 2018-01-13 22:16 egmkang 阅读(...) 评论(...) 编辑 收藏