centos7添加域名解析

[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添加域名解析)