I have two ubuntu boxes, one with 10.04, the other with 9.10. I noticed that the 10.04 can’t resolve hostname without parent domain name. But everything works fine on 9.10.
For example, I try to nslookup jira, 10.04 return ** server can’t find jira: SERVFAIL. But 9.10 can find it properly.
I analyzed the /etc/resolv.conf files on different machines
10.04 one
#@VPNC_GENERATED@ — this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by NetworkManager
domain xxxx.com
search Melbourme
nameserver 10.50.0.4
nameserver 10.50.0.6
9.10 one
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN
#nameserver 8.8.8.8
#nameserver 8.8.4.4
nameserver 10.50.0.4
nameserver 10.50.0.6
nameserver 192.168.102.1
search xxxx.com Melbourme
Eventually I found 10.04 doesn’t install resolveconf which might be used by vpnc. After installing it, the issue was resolved.
I guess VPNC doesn’t have a hard dependency on resolvconf package, but in some cases, it much better to use resolvconf to update resolv.conf instead of VPNC itself.
Don’t forget reconnect vpnc!