[Dnsmasq-discuss] negative caching
Simon Kelley
simon at thekelleys.org.uk
Thu May 18 16:49:45 BST 2006
Cabrera Erwin-W30163 wrote:
> Simon,
>
> You were correct, the response for the invalid URL did not have any
> records. That explains the missing negative entry in the cache.
>
> I'm still wondering why the negative response(s) from the DNS server did
> not appear in the DNSMASQ log? Tcpdump shows that a message was
> received.
>
>
It's an oversight: the log message gets generated in the code which
extracts the information from the packet and puts it in the cache. If
that routine fails to find any useful information to cache, it doesn't
log anything. (The reply does still make it back to the orginator of the
query, don't worry about that.)
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list