[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
[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
网友评论