[Dnsmasq-discuss] dnsmasq forwarding all queries to name server

Prashanth P.Nair prashanthppp at gmail.com
Wed Jul 1 09:57:42 BST 2015


Ok.ttls is 3600 sec.

Yes it's rotating .In my case its monitoring server ,the number of hosts
monitored is 8000 is I just want keep the cache and not to rotate .so it
good to knwo where cache files stored
On 1 Jul 2015 14:21, "Michał Lipka" <michal at lipka.email> wrote:

>
>
> 2015-07-01 9:19 GMT+02:00 Prashanth P.Nair <prashanthppp at gmail.com>:
>
>>
>> Hi DNSMASQ experts.
>>
>> Am new to DNSMasq.I have configured DNSmasq on a monitoring machine
>> ,which is running fine.
>>
>> 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.
>>
>>
>>
>> here is the logs
>>
>> Jul  1 09:55:48 dnsmasq[45007]: forwardedxx60 <http://xx60.xx.net/>
>> .xx.net <http://xx60.xx.net/> to x.x.0.1
>> Jul  1 09:55:48 dnsmasq[45007]: replyxx60.xx.net is xx.xx.215.133
>>
>>
>>
>> Jul  1 09:55:48 dnsmasq[45007]: query[A]xx60.xx.net from 127.0.0.1
>> Jul  1 09:55:48 dnsmasq[45007]: cachedxx60.xx.net is xx.xx.215.133
>> Jul  1 09:55:48 dnsmasq[45007]: query[AAAA]xx60.xx.net from 127.0.0.1
>>
>>
>>
>> Jul  1 09:55:48 dnsmasq[45007]: forwardedxx60.xx.net to x.x.0.1
>> Jul  1 09:55:48 dnsmasq[45007]: replyxx60.xx.net is NODATA-IPv6
>>
>> Here is the dnsMasq config :
>>
>> all-servers
>> cache-size=5000
>> dns-forward-max=5000
>> listen-address=127.0.0.1
>> log-async
>> log-facility=/var/log/dnsmasq.log
>> log-queries
>> strict-order
>>
>>
>> resolve.conf
>>
>> nameserver 127.0.0.1
>> nameserver x.x.0.1
>> nameserver x.x.0.2
>> nameserver x.x.0.3
>>
> I am not an expert but a quick guess: what is the TTL of those records?
> Maybe 1 minute?
> another guess: how many queries are caching? maybe limit 5000 isn't enough
> and records get rotated?
>
> Michal
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150701/b9bec097/attachment.html>


More information about the Dnsmasq-discuss mailing list