NIS domain names and DNS domain names not matching.

NIS domain names and DNS domain names not matching.

Post by Rick Stuar » Thu, 25 Feb 1999 04:00:00



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

 
 
 

1. how can a machine has both a real domain name and a bogus domain name?

Hello,

I have a home network with a bogus domain, like mydomain.home.
Machines in the home lan all have a home IP address like 10.5.5.*, and
a home domain name. The server's name is lion.mydomain.home, and it's
IP is 10.5.5.1. I also have a real IP address, and I am thinking to
host a real domain name. My question is, how can I setup the real
domain, so that the server can have a real domain name? Should I just
create a new zone file, and add a record for it in the named.conf?
Thanks in advance!

Alex Shi

2. problems with samba and routing under mandrake 7.2

3. Can I configure multiple domain names to dhcpd.conf "option domain-name"?

4. BTX config

5. Host name, primary name, domain name...?

6. cannot login to cde or openwindows

7. New Domain does not accept OLD domain name mail

8. x respawning too fast -- disabled for 5min

9. DNS w/ NIS Domain Name Questions

10. How do I set up Host and (nis/dns)Domain Names

11. NIS+ and DNS domain names

12. What breaks when NIS+ & DNS domain names are different

13. Using different domain names in NIS+ and DNS namespace?