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

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

展开
收起
止水上 2018-10-10 10:02:58 1789 分享
分享
版权
举报
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 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论