LKS.tw
今天安装了一个Debian系统,不知道是官方误操作删除了系统原有的dhcp相关设置还是什么清空,竟然无法正常解析域名,搞得我啥也做不了。 后来谷歌了一下,找到了方法,方法其实很简单,就是需要手动修改一下配置文件: vi /etc/resolv.conf 将域名解析服务器手动添加到配置文件中。 nameserver 8.8.8.8 nameserver 8.8.4.4 然后Ctrl+C退出编辑,:wq保存即可正常解析域名。 实在太舒服了,哦也!
Posted
in
by
kslim
Tags:
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ
Leave a Reply