home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / admin / 5004 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  2.8 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!prism!matd!rhoward
  2. From: rhoward@matd.gatech.edu (Robert L. Howard)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: DNS/named: Caching vs. Forwarding Server?
  5. Message-ID: <rhoward.716215294@matd>
  6. Date: 11 Sep 92 12:41:34 GMT
  7. References: <rhoward.716131894@matd> <18osn1INNfu0@uniwa.uwa.edu.au>
  8. Sender: news@prism.gatech.EDU
  9. Organization: Georgia Tech Research Institute
  10. Lines: 57
  11.  
  12. craig@ec.uwa.oz.au (Craig Richmond - division) writes:
  13.  
  14. >rhoward@matd.gatech.edu (Robert L. Howard) writes:
  15.  
  16. [questions about caching vs. forwarding name servers]
  17.  
  18. >>The problem is that I don't understand quite the subtle 
  19. >>difference between the two.  What I desire is that when
  20. >>the DS-1 link is down that I will at least have minimal
  21. >>DNS for those hosts local to me, which would probably
  22. >>be in the cache.  (Ideally, I'd also like some way to force
  23. >>some list of hosts into the cache right at boot time so if
  24. >>the DS-1 link goes down 3 minutes later, I will have more
  25. >>than 2 hosts in the cache.)
  26.  
  27. >How about setting yourself up as a primary name server, but put your entry
  28. >as the second name server in the resolv.conf file on all your machines.
  29. >This way it won't go around putting things in the cache left right and
  30. >centre.  Only if your normal name server fails a lookup.
  31.  
  32. But that still forces some large amount of lookups over the DS-1
  33. link.  I would think that I *want* to have stuff in a (more) local
  34. cache to save time.
  35.  
  36. >You could put the local machines into a cache file.  named can be set up
  37. >with a cache file of DNS information to be cached at startup.
  38.  
  39. Okay, here is what I think I know about a cache file.  The examples
  40. I have seen have a line in named.boot like:
  41.  
  42. cache    .    /etc/named.ca
  43.  
  44. which I understood to cause named to read in and cache the root
  45. servers (the example had named.ca with the names of the top level
  46. root servers in it).  Does this mean I can add another cache line
  47. like:
  48.  
  49. cache    whatever.gatech.edu    /etc/named.local.ca
  50.  
  51. and put my hosts that I want always cached in it?
  52.  
  53. Still, what about the forwarding server issue?  Could I add cache
  54. lines like above an also add a forwarders' line to the boot file
  55. so that all (non-cached) requests would go directly to the campus
  56. name server?  Do I even want to bother with this?
  57.  
  58. Thanks again,
  59. Robert
  60. --
  61. | Robert L. Howard              |   Georgia Tech Research Institute     |
  62. | robert.howard@matd.gatech.edu |   MATD Laboratory                     |
  63. | (404) 528-7165                |   Atlanta, Georgia  30332             |
  64. -------------------------------------------------------------------------
  65. | "See, when the GOVERNMENT spends money, it creates jobs; whereas when |
  66. | the money is left in the hands of TAXPAYERS, God only knows what they |
  67. | do with it.  Bake it into pies, probably.  Anything to avoid creating |
  68. | jobs." -- Dave Barry                                                  |
  69.