home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.mail.uucp:2440 comp.mail.sendmail:3071 comp.unix.sys5.r4:1024 comp.unix.questions:14992
- Newsgroups: comp.mail.uucp,comp.mail.sendmail,comp.unix.sys5.r4,comp.unix.questions
- Path: sparky!uunet!spool.mu.edu!solaria.mil.wi.us!jgreco
- From: jgreco@solaria.mil.wi.us (Joe Greco)
- Subject: Re: DNS name servers
- Message-ID: <BzyMur.C6s@solaria.mil.wi.us>
- Sender: news@solaria.mil.wi.us (Usenet News)
- Nntp-Posting-Host: solaria.mil.wi.us
- Organization: Solaria Public Access UNIX - Milwaukee, WI
- References: <Bzx9r5.FDo@gator.use.com>
- Date: Mon, 28 Dec 1992 08:13:38 GMT
- Lines: 47
-
- In comp.mail.uucp article <Bzx9r5.FDo@gator.use.com>, larry@gator.use.com (Larry Snyder) wrote:
- :We are using a cached name server (it works fine, and it appears
- :that as the machine is up and running for a couple of days, it
- :really gets faster since I assume the name to IP addresses are
- :in the cache verses requiring a lookup via the DNS - does anyone
- :know of a good book that explains how and why this works? and what
- :would be required to run a complete namesever locally).
-
- How and why this works? Simple. The following is a broad, simplistic
- explanation because I'm too tired to give a precise technical explanation.
- I have yet to see an excellent book on this, but I do suggest you read the
- BIND Operations Guide (?) supplied with the Berkeley nameserver. It and
- the RFC's were what I learned nameserver operations from.
-
- Nameserver records get served out with "maximum time to live" fields (I
- don't have the DNS documents here, so I can't give you the politically
- correct term). Any client (including other nameservers) which receives that
- data may assume the data will be valid for at least the specified interval,
- which varies from site to site.
-
- Since you're using a nameserver with a cache, it saves all requests that it
- has had to resolve to the cache. Resolving a name is an "expensive"
- operation, often involving several other servers. The savings in time
- offered by the cache is great compared to the relatively tiny overhead of
- RAM and time to cache it. When the data outlives it's "max time to live",
- it is deleted from the cache. The implementation is outlined in RFC's in
- mindnumbing detail.
-
- Now I'm not quite sure what you're asking for when you want to know what is
- required to run a "complete" nameserver. A cache-only nameserver is only
- really useful in an environment requiring a lot of name resolution, or where
- connecting to other nameservers is "expensive". There is no way to make
- this kind of operation any more "complete" than it already is, since the DNS
- is a huge distributed database. You can make the nameserver authoritative
- for a domain, in which case it's no longer a cache-only server, but this is
- a human distinction since the nameserver itself doesn't really care either
- way - whether or not it has data for which it is authoritative, it will
- cache other data, and that is the most you can really do with data that you
- don't have authority over.
-
- So I am confused as to what you are asking. Clarify?
-
- ... Joe
-
- -------------------------------------------------------------------------------
- Joe Greco - System Administrator jgreco@solaria.mil.wi.us
- Solaria Public Access UNIX - Milwaukee, WI 414/321-9287
-