如果主机多, 要确定这些主机有没有DNS解析,nslookup简单实用
[chkusr@CNSZ041791 ~]$ nslookup cnsz181080
;; Got SERVFAIL reply from 10.11.86.15, trying next server
Server: 10.37.90.15
Address: 10.37.90.15#53
** server can't find cnsz181080: SERVFAIL
没有解析
[chkusr@CNSZ041791 ~]$ nslookup cnsz131303
Server: 10.11.86.15
Address: 10.11.86.15#53
Name: cnsz131303.app.paic.com.cn
Address: 10.25.165.42
有解析