#nslookup oradb01
Server: 192.168.1.102
Address: 192.168.1.102#53
** server can't find oradb01: SERVFAIL
#nslookup oradb01.xyevolve.com
Server: 192.168.1.102
Address: 192.168.1.102#53
Name: oradb01.xyevolve.com
Address: 192.168.1.245
最后查询到了是oradb01这个主机里面没有在/etc/resolv.conf里添加search xyevolve.com一行。
添上后问题解决。
# cat /etc/resolv.conf
nameserver 192.168.1.102
search xyevolve.com
# nslookup oradb01
Server: 192.168.1.102
Address: 192.168.1.102#53
Name: oradb01.xyevolve.com
Address: 192.168.1.245