home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / uucp / 2529 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.4 KB

  1. Xref: sparky comp.mail.uucp:2529 comp.mail.misc:4282 comp.protocols.tcp-ip.domains:815
  2. Newsgroups: comp.mail.uucp,comp.mail.misc,comp.protocols.tcp-ip.domains
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!darwin.sura.net!ra!wintermute.phys.psu.edu!atlantis.psu.edu!barr
  4. From: barr@pop.psu.edu (David Barr)
  5. Subject: Re: Mixed format addresses
  6. Message-ID: <by91Hibayb@atlantis.psu.edu>
  7. Followup-To: comp.protocols.tcp-ip.domains
  8. Sender: news@atlantis.psu.edu (Usenet)
  9. Organization: Penn State Population Research Institute
  10. References: <e539VB6w165w@willard.UUCP> <BjQPrA-FBh107h@boombox.apana.org.au> <1993Jan7.022756.25843@ssigv.UUCP>
  11. Date: Thu, 07 Jan 93 14:43:06 GMT
  12. Lines: 37
  13.  
  14. In article <1993Jan7.022756.25843@ssigv.UUCP> gdonl@sunrise.ssi1.com (Don Lewis) writes:
  15. >In article <BjQPrA-FBh107h@boombox.apana.org.au> David.Keegel@apana.org.au writes:
  16. >>it be nice if BIND cached negative information like "UUCP. -- unknown
  17. >>domain".)
  18. >
  19. >Even if BIND had negative caching, it wouldn't help much in this case.
  20. >The problem is that there wouldn't be any queries for just "UUCP".  Your
  21. >local name server would forward queries for foo.UUCP and bar.UUCP to
  22. >the root servers, which would return a no such domain response.  Your
  23. >local server would cache this information for foo.UUCP and bar.UUCP,
  24. >but when it received a query for baz.UUCP, it would still forward it
  25. >to the root servers.
  26.  
  27. Not so.  Assume BIND does negative caching.
  28.  
  29. 1. resolver gets query for "foo.UUCP".
  30. 2. Since it does not know this data, it first must find it out from
  31.    the root nameservers since this is not in same top-level domain.
  32. 3. The nameserver contacts a root nameserver to find out who "foo.UUCP"
  33.    is.  In the NXDOMAIN response is "how far" the root nameserver got
  34.    down the tree before it hit the invalid domain.  (For example if you
  35.    query "foo.UUCP" you get ".".  If you query "bogus.us" you get
  36.    ".US".  For "bogus.pa.us" you get "pa.us") Thus the local nameserver
  37.    knows that there is not a ".UUCP" domain, and can therefore cache that
  38.    information.
  39.  
  40. In the answer is also the TTL value.  It would be safe for the local
  41. nameserver to use this TTL value for the negative cache entry.
  42.  
  43. (now all that's left is to implement it.  :-) )
  44.  
  45. [followups to comp.protocols.tcp-ip.domains.
  46.  
  47. --Dave
  48. -- 
  49. System Administrator, Population Research Institute    barr@pop.psu.edu
  50. What does it profit a man if he gains the whole world, but still runs DOS?
  51.