From: Luis S. <lui...@gm...> - 2008-09-01 17:17:00
|
Hi! Sorry for this last email since I noticed that in this cases you case the negative element with the soa record. But I also noticed that you used the ttl value from the soa record instead of the minimum. According with the rfc 2308 it says that the minimum value is used in these situations: "The remaining of the current meanings, of being the TTL to be used for negative responses, is the new defined meaning of the SOA minimum field." you see the opposite in the addNegative method in Cache.java: addNegative(Name name, *int* type, SOARecord soa, *int* cred) { *long* ttl = 0; *if* (soa != *null*) ttl = soa.getTTL(); ... } Do you agree? On Mon, Sep 1, 2008 at 12:24 PM, Luis Silva <lui...@gm...> wrote: > Hi all! > When sending NXDOMAIN and NXRRSET from a nameserver to a client, the > response, in the authoritive section, might contain the SOA record of the > authoritive zone. Using the dnsjava Cache, when looking for this records, > the SetResponse will not contain this Record. Is this feature planned to be > implemented or you just search again for the SOA record if you want to send > it in the response? > > Kind Regards, > Luis > |