首页 > 代码库 > centos配置dns

centos配置dns

  编辑

vi /etc/resolv.conf

  添加dns服务器

nameserver 202.96.134.133nameserver 202.96.128.86nameserver 8.8.8.8

  重启网络

service network restart

centos配置dns