其它 ·

Centos7配置dns服务器

1、用vi编辑配置文件

vi /etc/resolv.conf

2、添加dns服务器地址

nameserver xxx.xxx.xxx.xxx

Centos7配置dns服务器 其它 第1张

3、通过ping命令测试域名解析是否正常

参与评论