1. 启用手工编辑/etc/resolv.conf设置DNS服务器
(1) 修改NetworkManager.conf文件
# vi /etc/NetworkManager/NetworkManager.conf
==============================
[main]
plugins=ifcfg-rh
dns=none
==============================
(2)重启网络管理服务
# systemctl restart NetworkManager.service
2. 使用nslookup命令
yum install bind-utils
阅读(601) | 评论(0) | 转发(0) |