Linux下设置全局DNS服务器地址

在Linux下,默认DNS设置配置文件为: /etc/resolv.conf
添加DNS示例
nameserver 114.114.114.114
可添加多个,前面为主要DNS,后面为次要DNS

猜你喜欢

转载自blog.csdn.net/qq_35590198/article/details/80604178