linux dns 连*

  1. 以下设置对所用的Linux系统如Redhat/Ubuntu/Debian/CentOS等都有效,但您必须是管理员root或者具有管理员权限

    vim /etc/resolv.conf
  2. 在其中加入:

    nameserver 180.76.76.76
    nameserver 114.114.114.114
  3. 保存退出,使用nslookup或者dig验证是否可以通过180.76.76.76正常解析www.baidu.com

原文地址:https://www.cnblogs.com/dy09/p/5111720.html