home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / admin / 5017 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.8 KB  |  47 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  3. From: casper@fwi.uva.nl (Casper H.S. Dik)
  4. Subject: Re: NIS vs DNS
  5. Message-ID: <1992Sep12.085029.19657@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: adam.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <1992Sep10.002722.12730@den.mmc.com> <BuCxxt.D97@gabriel.keele.ac.uk> <1992Sep11.202153.26675@puma.ATL.GE.COM>
  10. Date: Sat, 12 Sep 1992 08:50:29 GMT
  11. Lines: 34
  12.  
  13. rsnyder@atl.ge.com (Bob Snyder) writes:
  14.  
  15. >In article <BuCxxt.D97@gabriel.keele.ac.uk> jonathan@gabriel.keele.ac.uk (Jonathan Knight) writes:
  16.  
  17. >>We run NIS and DNS using the Sun approved method.  Each NIS master has
  18. >>a resolv.conf which it uses when a host lookup isn't in the NIS maps.
  19. >>
  20. >>Here's why:
  21. >[Good reasons while deleted]
  22.  
  23. >Here's why not:
  24.  
  25. >The support for multi-homed hosts is abysmal.  You can't give multiple IP
  26. >addresses to an /etc/hosts file (from what I have been able to see), and if
  27. >you are willing to use only DNS for that, the NIS master will do a DNS query,
  28. >returning the addresses, with the best address first, *from the server's point
  29. >of view*.  Let's say I have a NIS server (Machine A) on subnets 1 and 2.  I
  30. >also have another multi-homed host (Machine B) that sitts on subnets 1 and 2.
  31. >If a machine on subnet 2 looks up Machine B's address via NIS, it will get
  32. >the address on subnet 1, and will route to that host, even though it could
  33. >reach the machine directly, without routing.
  34.  
  35. >If something I showed here is wrong, please tell me, but this is what 
  36. >I am seeing on my networks.
  37.  
  38. If you put all the NIS servers on non-gateway machine,
  39. you won't have a problem like that. But I agree, the NIS
  40. server can take the address of the client and rearrange
  41. the returned addresses accordingly.
  42.  
  43. Casper
  44. -- 
  45.                         |    Casper H.S. Dik
  46.                         |    casper@fwi.uva.nl
  47.