solaris设置dns
1.创建/etc/resolv.conf
searchdomain rainbird.net
nameserver 202.106.0.20
nameserver 202.106.196.115
2.查看/etc/nsswitch.conf
确保
hosts: files dns
1.创建/etc/resolv.conf
searchdomain rainbird.net
nameserver 202.106.0.20
nameserver 202.106.196.115
2.查看/etc/nsswitch.conf
确保
hosts: files dns
如果没立即生效的话,重启下系统吧
转载于:https://blog.51cto.com/rainbird/64368