Once upon a time, Roberto Ragusa <mail(a)robertoragusa.it> said:
But there is another problem which I'm not able to solve easily:
if you try to resolve
www.google.com and you have
"search my.corp.com" in /etc/resolv.conf, a query for
www.google.com.my.corp.com will be tried first.
The only solution I know is to use "www.google.com.",
with a final dot, but that would mean changing every domain
in every config (including rewiring my brain to always
append an extra dot :-) ).
That would be a bug according to the documentation. If at least 1 (by
default) dot appears, the initial query is supposed to be the absolute
query. See the man pages for resolv.conf and resolver. I don't see the
same behvior (it works the documented way for me).
--
Chris Adams <cmadams(a)hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.