<p dir="ltr"><br>
Hi DNSMASQ experts.<br></p>
<p dir="ltr">Am new to DNSMasq.I have configured DNSmasq on a monitoring machine ,which is running fine.</p>
<p dir="ltr">But in the logs i observed  once  query is happened ,it tells that its stored in cache, but after few minutes again query goes to namserver instead of local server.</p>
<p dir="ltr"> </p>
<p dir="ltr">here is the logs<br></p>
<p dir="ltr">Jul  1 09:55:48 dnsmasq[45007]: forwarded<a href="http://xx60.xx.net/">xx60</a><a href="http://xx60.xx.net/">.xx.net</a> to x.x.0.1<br>
Jul  1 09:55:48 dnsmasq[45007]: reply<a href="http://xx60.xx.net/">xx60.xx.net</a> is xx.xx.215.133</p>
<p dir="ltr"> </p>
<p dir="ltr">Jul  1 09:55:48 dnsmasq[45007]: query[A]<a href="http://xx60.xx.net/">xx60.xx.net</a> from 127.0.0.1<br>
Jul  1 09:55:48 dnsmasq[45007]: cached<a href="http://xx60.xx.net/">xx60.xx.net</a> is xx.xx.215.133<br>
Jul  1 09:55:48 dnsmasq[45007]: query[AAAA]<a href="http://xx60.xx.net/">xx60.xx.net</a> from 127.0.0.1</p>
<p dir="ltr"> </p>
<p dir="ltr">Jul  1 09:55:48 dnsmasq[45007]: forwarded<a href="http://xx60.xx.net/">xx60.xx.net</a> to x.x.0.1<br>
Jul  1 09:55:48 dnsmasq[45007]: reply<a href="http://xx60.xx.net/">xx60.xx.net</a> is NODATA-IPv6<br><br></p>
<p dir="ltr">Here is the dnsMasq config :<br></p>
<p dir="ltr">all-servers<br>
cache-size=5000<br>
dns-forward-max=5000<br>
listen-address=127.0.0.1<br>
log-async<br>
log-facility=/var/log/dnsmasq.log<br>
log-queries<br>
strict-order</p>
<p dir="ltr"> <br>
resolve.conf</p>
<p dir="ltr">nameserver 127.0.0.1<br>
nameserver x.x.0.1<br>
nameserver x.x.0.2<br>
nameserver x.x.0.3<br></p>
<p dir="ltr">Br/Prashanth.P</p>