NIS name resolution - Help!!

NIS name resolution - Help!!

Post by Jason Sadl » Sat, 27 Feb 1993 01:58:32



Here is a problem which must be pretty common:

Our RS/6000 running AIX 3.2 is configured as a master NIS server.

The clients consist of PCs running Sun PCNFS which query the NIS server
for the network information rather than having a hosts file.

We have now attached to the internet community and have access to a
remote nameserver.  So I would now like NIS to resolve not just local
names but utilise the nameserver's facilities to resolve other internet
names.

I'm told that this is possible but don't know how.  Can anyone help.

Jason Sadler

GeoData Institute,                 phone: 0703 592719

 
 
 

NIS name resolution - Help!!

Post by Kanthan Pill » Wed, 03 Mar 1993 20:00:36



>Our RS/6000 running AIX 3.2 is configured as a master NIS server.
>We have now attached to the internet community and have access to a
>remote nameserver.  So I would now like NIS to resolve not just local
>names but utilise the nameserver's facilities to resolve other internet
>names.

The NIS hosts.byname and hosts.byaddr maps need to be built with the -b
option to makedbm. Edit /var/yp/Makefile and change the rules for
hosts.time. If you are using a generic Makefile as supplied by IBM,
here's the diffs:
86c86
<                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
---
Quote:>                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \

89c89
<                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
---

Quote:>                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \

Your master NIS server should also have /etc/resolv.conf correctly
installed so that it is able to use the nameserver. If you have slave
servers, they should also have /etc/resolv.conf correctly installed.

See the man pag.... oops.... see info for more on "makedbm" and
"resolv.conf".

Disclaimers: This is the way it is "supposed" to work.  I don't do
it this way. I run slave nameservers on my slave ypservers. I also
use bind4.8.3 instead of the IBM named. I also installed a Sun as
my master server after getting tired of fixing NIS on my AIX
master server.

                                Kanthan Pillay
                                Unix Systems Administrator
                                C R S 4
                                Sardinia

* * * * *Centro di Ricerca, Sviluppo e Studi Superiori in Sardegna * * * * * *
*                                                                            *


*        Fax:  (39 70) 279-6220    uucp:     princeton!svpillay              *
*        Snail: Via Nazario Sauro, 10 - 09123 Cagliari, Italy                *
*                                                                            *
* * * Centre for Advanced Studies, Research, and Development in Sardinia * * *

 
 
 

1. Help: Very slow name resolution on AIX 4.3.2 with name server

Hi,

we have several machines running AIX 4.1.2, 4.1.4, 4.2.1, and 4.3.2. We
use a name server in a Linux box. The only problem is, that telnet,
rlogin, and ftp are connecting very slowly from the AIX 4.3.2 box to any
other machine. Ping works fine. The other programs ask for a field
"AAAA" which our linux name server does not know. Later they ask for a
filed "A", and then they get an answer. Is there a workaround or a
special configuration? Does it deal with IP V6?
Thank you in advance!
--
Burkhard Schultheis
Tele Data Electronic
Wagnerstr. 10
D-76448 Durmersheim

2. Encrypted Backups

3. BIND Name resolution & the NAMED.CA file

4. Upgrading KDE

5. BIND Name resolution & the NAMED.CA file (and an apology)

6. what's the better hardware configure in freebsd4.2 now?

7. Name resolution for local names using DHCP

8. What is the best way to configure Apache and an App Server?

9. named and name resolution

10. NIS, NIS+, named, yp, ...

11. nfs help stl nd hlp... its name resolution

12. NewBie: HELP on Name resolution by broadcast !

13. some kind of name resolution problem in Netscape ....i think HELP!!!