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