I think your configuration is wrong, but as a test, does the "strict-order" option fix your problem?
On Thu, May 17, 2012 at 9:38 AM, Atul Gupta <atul14.ku...@gmail.com> wrote: > Hi, > One server in my dnsmasq.conf file is never tried for sending the query. > > Below is my config file:- > # Management DNS servers [2] > > server=/ody.engr.net/2001:5b0:ffff:fff6::25@2001:05b0:3efe:2e1f:0000:0000:004c:4d0d > > server=/ody.engr.net/2001:5b0:ffff:fff6::26@2001:05b0:3efe:2e1f:0000:0000:004c:4d0d > address=/controlcenter.com/192.168.0.1 > address=/controlcenter.com/fd0d:edc3:e12a:0000::1 > address=/www.odyagentid.com/66.82.162.22 > cache-size=1000 > max-ttl=60 > neg-ttl=60 > no-resolv > max-ipperhost=5 > server=192.168.160.20@172.20.54.1 > server=192.168.160.20@172.20.54.1 > server=2001:5b0:3eff:fff7::20@2001:05b0:3e1a:8000:0280:aeff:fe4b:0277 > server=2001:5b0:3eff:fff7::20@2001:05b0:3e1a:8000:0280:aeff:fe4b:0277 > I guess dnsmasq adds all servers in the daemon->servers list and picks > servers from there while forwarding the query. My question is that if > there is any scenario where dnsmasq removes any server from this > (daemon->servers) list.As this is what seems to happening in my case > i.e. server 192.168.160.20 is never being tried to forward the query. > restart of dnsmasq solves this problem. > Also when this problem comes and dump cache, there is no entry for > 192.168.160.20. below is dump > > cache size 1000, cache insertions 2644, re-used unexpired cache entries 0 > queries forwarded 1301, queries answered locally 37 > server 2001:5b0:ffff:fff6::25#53: queries sent 0, retried or failed 0, used > 0 > server 2001:5b0:ffff:fff6::26#53: queries sent 0, retried or failed 0, used > 0 > server 2001:5b0:3eff:fff7::20#53: queries sent 680, retried or > failed 0, used 0 > Host Address > Flags Expires > > Please ignore the counters next to "queries sent", "cache insertions" > etc. as they may be inconsistent, but real problem is that i don't see > 192.168.160.20 in this list. > > Please help!!!! > Regards, > Atul. > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss