>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 * * *