nscd and DNS cache

Ed Greshko Ed.Greshko at greshko.com
Fri May 18 05:49:15 UTC 2012


On 05/18/2012 01:35 PM, Ed Greshko wrote:

> There should not be a configuration for that. If there is, then dnsmasq would be
> going against the recommendations of the DNS RFCs. The response to a DNS request
> includes a TTL (Time To Live). According to the RFC.... TTL which is the time to
> live of the RR. This field is a 32 bit integer in units of seconds, an is primarily
> used by resolvers when they cache RRs. The TTL describes how long a RR can be
> cached before it should be discarded. So, dnsmasq is dropping the records from its
> cache according to when the owner of the record wants it. This is how the DNS
> system is supposed to work. 

And, FWIW, the definition for "should" with regards to RFCs is....

SHOULD   This word, or the adjective "RECOMMENDED", mean that there
   may exist valid reasons in particular circumstances to ignore a
   particular item, but the full implications must be understood and
   carefully weighed before choosing a different course.

-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the users mailing list