centos7.3系统的ifcfig-eth0配置文件中的dns配置不见了

ifcfig-eth0配置文件中的dns配置不见了,导致无法ping通www.baidu.com

展开
收起
止水上 2018-10-10 10:02:58 1820 分享 版权
1 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。
    您好,也可以尝试在 /etc/resolv.conf 里直接配置上dns服务器的地址,可参考:https://unix.stackexchange.com/questions/177160/where-to-locate-resolv-conf-file-in-centos-7
    2018-10-10 23:36:03
    赞同 展开评论

使用DNS和运维DNS相关的最佳实践

还有其他疑问?
咨询AI助理