[Dnsmasq-discuss] test33: excessive queries for the same address

Carlos Carvalho carlos at fisica.ufpr.br
Thu Jan 31 00:49:49 GMT 2008


I've noticed that dsnmasq doesn't seem to cache negative responses
long enough:

Jan 30 22:35:29 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:35:29 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:35:38 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:35:38 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:36:01 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:36:01 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:36:23 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:36:23 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:36:50 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:36:50 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:38:21 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:38:21 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1
Jan 30 22:39:09 dnsmasq[4260]: query[A] vger.kernel.org.bl.open-whois.org from 192.168.3.18
Jan 30 22:39:09 dnsmasq[4260]: forwarded vger.kernel.org.bl.open-whois.org to 127.0.0.1

This seems somewhat excessive, it should have cached the answer
whatever it is; there was an answer (nxdomain) from the server at
127.0.0.1. I do NOT use --no-negcache. This is with test33, which is
the same as rc1.



More information about the Dnsmasq-discuss mailing list