|
To begin with, you don't need all of those statements. The only one that would make sense in your case would be 'search mycompany.com'. What that does is tag the mycompany.com onto any short name. So adding something like 'search mkt.mycompany.com' and then typing 'ssh mkt' would actually look for mkt.mkt.mycompany.com.
Beyond that, it should just work. I tested by putting 'search not_your_but_my_company.com' into /etc/resolv.conf, and 'ssh shortname' worked for me. Try it with just one search command, and see if that works.
Peace,
JimBass
|