home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / protocol / tcpip / domains / 817 < prev    next >
Encoding:
Text File  |  1993-01-07  |  2.1 KB  |  51 lines

  1. Newsgroups: comp.protocols.tcp-ip.domains
  2. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!gatech!swrinde!emory!europa.asd.contel.com!darwin.sura.net!ra!wintermute.phys.psu.edu!atlantis.psu.edu!barr
  3. From: barr@pop.psu.edu (David Barr)
  4. Subject: Re: Negative caching
  5. Message-ID: <#gb1Hfjgyb@atlantis.psu.edu>
  6. Sender: news@atlantis.psu.edu (Usenet)
  7. Organization: Penn State Population Research Institute
  8. References: <1993Jan7.022756.25843@ssigv.UUCP> <by91Hibayb@atlantis.psu.edu> <1ihlanINNlj9@daisy.ee.und.ac.za>
  9. Distribution: inet
  10. Date: Thu, 07 Jan 93 18:20:46 GMT
  11. Lines: 38
  12.  
  13. In article <1ihlanINNlj9@daisy.ee.und.ac.za> barrett@daisy.ee.und.ac.za (Alan P Barrett) writes:
  14. >The authority records in the NXDOMAIN response tell you the position of
  15. >the nearest zone cut above the nonexistent domain.  This is different
  16. >from the nearest valid domain above the nonexistent domain.
  17. >
  18. >For example, if you query for "bogus.in-addr.arpa", you will get an
  19. >NXDOMAIN response with "arpa" in the authority section.  You cannot
  20. >conclude that "in-addr.arpa" doesn't exist, but you can conclude that
  21. >there is not a zone cut at "in-addr.arpa".
  22.  
  23. Aha!  Thanks!  I was mulling over my previous post at lunch today and I
  24. realized that I forgot about this case.  This isn't much of a concern,
  25. actually, and could be handled as follows:
  26.  
  27. (all responses are NXDOMAIN, with authority records below, first line
  28. reads: "Query for bogus.org resulted in NXDOMAIN and authority record
  29. returned was 'org.'  As a result, cache the fact that there is no
  30. 'bogus.org' domain.")
  31.  
  32. Query            Authority Record    Negative cache result
  33. bogus.org        org.            !bogus.org.
  34. bogus.bogus.org        org.            !bogus.bogus.org.
  35. bogus.bogus        .            !bogus.
  36. [or, using analogous in-addr examples]
  37. bogus.arpa.        arpa.            !bogus.arpa.
  38. bogus.in-addr.arpa.    arpa.            !bogus.in-addr.arpa.
  39.  
  40. In other words:
  41. levels in address    levels in auth record    levels in cache result
  42. N            N-1            N-1
  43. N            <N-1            N
  44.  
  45. Hmm.  Does this work?
  46.  
  47. --Dave
  48. -- 
  49. System Administrator, Population Research Institute    barr@pop.psu.edu
  50. A .sig quote is like a summer job, okay for a few months but not much more.
  51.