SUMMARY : Set up DNS on 4.1.3

From: Liew.Chee.Wah (cwliew@bass.com.my)
Date: Mon Jun 17 1996 - 06:25:31 CDT


Thanks to all the replies.

Actually I fotgot to mentioned that I just want to set up DNS client on my
nmachine.

There are several solution depends whether you are running the NIS or not.

Non-NIS setup
-------------
1) You have to recompile the libresolv.a , libc.sa and libc.so to make the
DNS work. In order to do that, you have to download the resolv+. I found
it at the place http://netweb.usc.edu/other/

I have tried this and it works on my machine.

NIS setup
---------
1) Modify the Makefile lives in /var/yp/Makefile to build the maps. ( This
changes should made on the master NIS server but not the slave )

You need to uncomment the lines :

#B=-b
B=

To change them to

B=-b
#B=

2) Rebuild the hosts map

  cd /var/yp
  make hosts.time

 
This will insert a "magic cookie" into th ehosts map that instruct the NIS
to query DNS if it can't find a host in the NIS hosts map.

Please correct me if I am wrong.

       
       \\\//
      ( @ @ )
-----ooO Q Ooo-----
Liew Chee Wah
BASS CONSULTING S/B
Customer Support Organisation
E-Mail : cwliew@bass.com.my



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT