① vi /etc/sysconfig/network-scripts/ifcfg-ens33
②添加dns服务器地址
③重启网络服务
service network restart
转载于:https://blog.51cto.com/python20101030/2335490
① vi /etc/sysconfig/network-scripts/ifcfg-ens33
②添加dns服务器地址
③重启网络服务
service network restart
转载于:https://blog.51cto.com/python20101030/2335490