Hello, I'm building a dnsmasq in place to cache the DNS requests from a foreign DNS server.
The idea is, my computer makes a DNS request that is not registered In my local Dnsmasq, but it does a forward and sends it to the DNS server (Mentioned above). So, that the next time I come back To consult that DNS address, and have it cached and do not need Request it from the outside DNS server.
I have this configuration:
listen-address=127.0.0.1 port=53 bind-interfaces user=dnsmasq log-facility=/var/log/dnsmasq.log log-queries dns-forward-max=150 cache-size=150 server=192.168.0.33
But in the logs I see, I do not cache anything in the local, which always goes to Ask the DNS entries to the server 192.168.0.33:
Dnsmasq : query [A] www.google.es from 127.0.0.1 Dnsmasq : forwarded www.google.com to 192.168.0.33
What am I doing wrong?? I'm looking at information but I can not find anything ...