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

Michał Lipka michal at lipka.email
Wed Jul 1 09:19:35 BST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150701/590611eb/attachment.html>


More information about the Dnsmasq-discuss mailing list