home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / tcpip / domains / 611 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.8 KB  |  101 lines

  1. Newsgroups: comp.protocols.tcp-ip.domains
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!umeecs!nova!ellis
  3. From: ellis@nova.gmi.edu (Stew Ellis)
  4. Subject: Re: Need Info about setting up Domain Name services (named) on network
  5. Message-ID: <ellis.715893483@nova>
  6. Sender: news@zip.eecs.umich.edu (Mr. News)
  7. Organization: GMI Engineering&Management Institute, Flint, MI
  8. References: <2739@news.cerf.net>
  9. Distribution: usa
  10. Date: Mon, 7 Sep 1992 19:18:03 GMT
  11. Lines: 88
  12.  
  13. pgrine@nic.cerf.net (Robert Young) writes:
  14.  
  15. >Hi there!
  16.  
  17. >Well, it is time for our network to migrate to Domain Name services.
  18. >Here is a summary of my situation:
  19.  
  20. >We were using our standard Internet Address for our token-ring lan and 
  21. >the default 192.9.200 for our ethernet lan.
  22.  
  23. >So far no problem but.... because we are incorporating to the INTERNET
  24. >we will be making changes to our addresses.
  25. >What i have done so far is test the subnet issue.
  26. >We have defined our choices there: we will be using the 3 highest bits
  27. >(netmask 224) and do with 6 subnets.
  28.  
  29. >Here comes the question>
  30.  
  31. >Has anyone implemented this setup with NIS with DNS (named).
  32. >The docs say that NIS can run with domain name services on top of it
  33. >I am reading chapter 17 of the SUN : System & Network Administration in
  34. >order to understand what is going on but I must confess that I am still
  35. >not sure how to go about it.
  36. >Based on the samples I have created the boot files for my 3 servers
  37. >but like i said, is not complete.
  38.  
  39. >Can any one share some hints, 
  40. >I have a combination of token-ring and ethernet unix hosts and PC's.
  41. >I want to use subnets for security reasons (the machine that will connect 
  42. >us to the internet via a router will be in one subnet along with the
  43. >router).
  44.  
  45. >Ideally, I would like to use NIS to handle local addresses and DNS when 
  46. >needing info about INTERNET addresses.
  47. >My HUB supplier (Cerfnet) has already given me the name of the domain name
  48. >server that I should use to link to the INTERNET.
  49.  
  50. >Thanks in advance, in the menatime I will keep on reading.
  51.  
  52. >Robert Young
  53. >Peregrine Systems, Inc.
  54. >robert@peregrine.com
  55. >pgrine@nic.cerf.net
  56. >(619) 431-2400, Ext 167
  57.  
  58. Once you have the DNS tables set up and are running in.named from
  59. /etc/rc.local, and have NIS running, you have three additional changes to
  60. make from the default Sun setup.  
  61.  
  62. 1) In /var/yp/Makefile, remove the comment
  63. from the line that reads:
  64. #B=-b
  65. and add one to the line that read:
  66. B=
  67. This tells the makedbm program to make the NIS databases in such a way to
  68. cooperate with DNS.
  69.  
  70. 2) In /etc/rc.local, set the -d switch for ypserv, again to get the NIS
  71. stuff to interact with DNS.
  72.  
  73. 3) Create an /etc/resolv.conf on the NIS/DNS server with the following info:
  74. domain your.domain
  75. nameserver ip-number_of_your_primary_nameserver
  76. nameserver ip-number_of_your_secondary_nameserver
  77.  
  78. When you run /var/yp/Makefile, watch to make sure the hosts databases are
  79. remade.  If they are not, then touch /etc/hosts and remake.
  80.  
  81. You also will have to reboot (fastboot) I believe to get the ypserv switch
  82. to take effect, although I guess you could kill the pid of ypserv and
  83. restart it with the -d.
  84.  
  85. Use /usr/etc/nslookup to check name resolution of your local and some remote
  86. hosts.
  87.  
  88. I hope this helps.  This is what I am doing at GMI, but we are a nearly
  89. homogeneous network, with a Sun server doing both DNS and NIS, and about 25
  90. workstations being served.  We have one HP and a couple of DEC workstations,
  91. but I am not sure they are getting completely satisfactory DNS.  The PC's,
  92. running Netware, with CUTCP for TCP/IP, are getting IP addresses with bootp
  93. from the Sun server.
  94.  
  95.  
  96. --
  97. --                                                        ___________________
  98.   R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  99.   Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  100.   Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
  101.