home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.domains
- 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
- From: barr@pop.psu.edu (David Barr)
- Subject: Re: Negative caching
- Message-ID: <#gb1Hfjgyb@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State Population Research Institute
- References: <1993Jan7.022756.25843@ssigv.UUCP> <by91Hibayb@atlantis.psu.edu> <1ihlanINNlj9@daisy.ee.und.ac.za>
- Distribution: inet
- Date: Thu, 07 Jan 93 18:20:46 GMT
- Lines: 38
-
- In article <1ihlanINNlj9@daisy.ee.und.ac.za> barrett@daisy.ee.und.ac.za (Alan P Barrett) writes:
- >The authority records in the NXDOMAIN response tell you the position of
- >the nearest zone cut above the nonexistent domain. This is different
- >from the nearest valid domain above the nonexistent domain.
- >
- >For example, if you query for "bogus.in-addr.arpa", you will get an
- >NXDOMAIN response with "arpa" in the authority section. You cannot
- >conclude that "in-addr.arpa" doesn't exist, but you can conclude that
- >there is not a zone cut at "in-addr.arpa".
-
- Aha! Thanks! I was mulling over my previous post at lunch today and I
- realized that I forgot about this case. This isn't much of a concern,
- actually, and could be handled as follows:
-
- (all responses are NXDOMAIN, with authority records below, first line
- reads: "Query for bogus.org resulted in NXDOMAIN and authority record
- returned was 'org.' As a result, cache the fact that there is no
- 'bogus.org' domain.")
-
- Query Authority Record Negative cache result
- bogus.org org. !bogus.org.
- bogus.bogus.org org. !bogus.bogus.org.
- bogus.bogus . !bogus.
- [or, using analogous in-addr examples]
- bogus.arpa. arpa. !bogus.arpa.
- bogus.in-addr.arpa. arpa. !bogus.in-addr.arpa.
-
- In other words:
- levels in address levels in auth record levels in cache result
- N N-1 N-1
- N <N-1 N
-
- Hmm. Does this work?
-
- --Dave
- --
- System Administrator, Population Research Institute barr@pop.psu.edu
- A .sig quote is like a summer job, okay for a few months but not much more.
-