Who knows why linux (redhat/centos) nslookup ignores the search command in /etc/resolv.conf, but it does, while ping and ssh work just fine.
e have a lot of subdomains around here, so it's important that the search command work (Solaris does!), for us lazy typers.

Bash alias to repace nslookup with dig

alias nslookup='dig +short +search +ndots=2 ' you'll need to do \nslookup for reverse lookups

Or drop +short +search +ndots=2 into .digrc and just  use dig.

KIS - Keep it Simple
JDI - Just do it