nslookup appears to use the first "search" in resolv.conf.
ping seems to use the second (last?) "search" in resolv.conf.
Basically, what this means, is that my box is unable to ping a
hostname that is in abc.com but not in sub.abc.com, although
nslookups will return appropriate values.
Has anyone had this problem before? Anything to fix this?
Thanks,
Scott Moseman
The general idea is that searchlist won't do any good. Use
FQDN everywhere ( except perhaps one domain)
Searchlist will create an ambiguity which domain has been used, sooner
or later it will get the wrong one and you will waste your
time troubleshooting.
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
Peter instead of ranting about whether search lists are good or
bad just tell him how to solve the problem.
There should only be *one* search directive in resolv.conf.
search abc.com sub.abc.com
Mark
> --
> Peter Håkanson
> IPSec Sverige ( At Gothenburg Riverside )
> Sorry about my e-mail address, but i'm trying to keep spam out,
> remove "icke-reklam" if you feel for mailing me. Thanx.
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_A...@isc.org
Thanks,
Scott Moseman