美文网首页
centos7添加域名解析

centos7添加域名解析

作者: 鬼谷子001 | 来源:发表于2018-03-20 19:16 被阅读0次

    [root@localhost ~]# vi /etc/resolv.conf

    显示如下:

    ; generated by /sbin/dhclient-script

    search localdomain

    nameserver 192.168.169.2

    #加入以下适合的DNS

    #GOOGLE的DNS

    nameserver 8.8.8.8

    nameserver 8.8.4.4

    相关文章

      网友评论

          本文标题:centos7添加域名解析

          本文链接:https://www.haomeiwen.com/subject/ckzbqftx.html