[Dnsmasq-discuss] dnsmasq forwarding all queries to name server
prashanthppp at gmail.com
Wed Jul 1 09:11:56 BST 2015
On 1 Jul 2015 13:32, "Albert ARIBAUD" <albert.aribaud at free.fr> wrote:
> Hi Prashanth,
> Le Wed, 1 Jul 2015 12:49:45 +0530, "Prashanth P.Nair"
> <prashanthppp at gmail.com> a écrit :
> > Hi DNSMASQ experts.
> > Am new to DNSMasq.I have configured DNSmasq on a monitoring machine
> > 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.
> I assume your question is 'why does it not stay in cache?' :)
Yes.that's my question.
> > here is the logs
> > Jul 1 09:55:48 dnsmasq: forwardedxx60 <http://xx60.xx.net/>.
> > <http://xx60.xx.net/> to x.x.0.1
> (hmm, weird, what does a WEb URL do in a DNS query log? Never mind.)
Its not web url
.looks like email formatting issue.
> > Jul 1 09:55:48 dnsmasq: replyxx60.xx.net is xx.xx.215.133
> > Jul 1 09:55:48 dnsmasq: query[A]xx60.xx.net from 127.0.0.1
> > Jul 1 09:55:48 dnsmasq: cachedxx60.xx.net is xx.xx.215.133
> > Jul 1 09:55:48 dnsmasq: query[AAAA]xx60.xx.net from 127.0.0.1
> > Jul 1 09:55:48 dnsmasq: forwardedxx60.xx.net to x.x.0.1
> > Jul 1 09:55:48 dnsmasq: replyxx60.xx.net is NODATA-IPv6
> Seems normal to me. First query is for IPv4 resolution, which is
> cached; second query is for IPv6 (judging by the reply), which is
> formwarded since it was not in cache (only IPv4 was).
> Additionally, check the TTL of the name you're resolving. The cache
> will hold an entry only as long as its TTL has not expired.
So you mean to say that ipv6 is not in cache so its forwarding if yes the
How can I see how long the cache is stored?where can I see this? How can I
Also where is dnsmasq cache stores? I could see for nscd ,its in
var/db/.what about dnsmasq.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss