We are using a Solaris2.5.1 implementation of NIS (Not NIS+, e have SGI
systems on the network). We have set the -b in the Makefile to resolve
hosts from DNS. The DNS server has most of our hosts in a domain named
"houston.domain.com" and we use the NIS defaultdoamin of "domain.com"
There are also systems in midland and zimbabwe in DNS domains
"midland.domain,com" and "zimbabwe.domain.com". I would like to be able
to resolve a host from NIS that may be in any of those domains without
specifying the .---.domain.com.
My /etc/resolv.conf looks like this;
search domain.com
hostresorder bind
nameserver 55.55.55.01
nameserver 55.55.55.02
search domain.com houston.domain.com \
midland.domain.com zimbabwe.domain.com
from an NIS client, I can ping foobar.zimbabwe.domain.com, but not
foobar.
The only workaround I have found thus far is to set aliases in DNS like
this;
55.45.00.200 foobar.zimbabwe.domain.com foobar.domain.com
Anyone have a better solution or a suggestion which might make life
easier? Yes, I have to do it this way....policy. No, the NIS/DNS names
below are not real.
Thanks in advance,
--
Anadarko Petroleum Corp, Houston (281)876-8619
UNIX doesn't ask you to confirm -- if you didn't want it to do what you
asked, why did you ask?'' -- Frank Willison, O'Reilly & Associates