1. vim /etc/resolv.conf
search example.com // search redhat.com 则 ping redhat 即可
nameserver 8.8.8.8
nameserver 8.8.4.4 // 208.67.222.222 208.67.220.220 218.30.19.50
61.134.1.5 61.128.114.133 61.144.56.100 61.144.56.101
domain=example.com //可以kill
additions: 若配置了全局DNS 则 service network restart 之后则会覆盖掉 /etc/resolv.conf
里面的配置 全局优先
阅读(890) | 评论(0) | 转发(0) |