[Dnsmasq-discuss] misunderstanding negative caching

Simon Kelley simon at thekelleys.org.uk
Thu Apr 4 16:39:55 BST 2019


On 27/03/2019 00:32, alexander.v.litvak at gmail.com wrote:
> Dear list, 
> 
> I configured dnsmasq with enabled negative cache and neg-ttl 600.  I
> attempted to use it with a query that times out (configured fake dns servers
> in the config file).  When I ping a host, I have NXDOMAIN in logs.  However,
> every time I ping it dnsmasq asks those servers to resolve the host. 
> Shouldn't I get rejection immediately based on dnsmasq negative cache? 
> 
> Thank you in advance,
> 
> 
>

A time-out will not be cached, which is generally sensible, I think.

Simon.



More information about the Dnsmasq-discuss mailing list