Hi,
 
I'm playing with new DNSMasq instalation in a raspberry pi and one thing I notice is that by default the DNSMasq service will forward everything to my router. Log file says:
 
<<<
Sep 14 07:41:53 dnsmasq[32]: query[A] google.com from 192.168.1.10
Sep 14 07:41:53 dnsmasq[32]: forwarded google.com to 192.168.1.2
>>>
 
192.168.1.10 is my raspberry pi (DNSMasq). 192.168.1.2 is my router. I ran that query from my computer with "dig @192.168.1.10 google.com"
 
I didnt change anything in the original config files. My question is why is DNSMasq forwarding the queries to the router by default? This is just because I'm curious, theres nothing broke with my DNSMasq.
 
In the dnsmasq.conf file, I see that DNSMasq gets its upstream server from /etc/resolv.conf. In the raspberry pi, this is what /etc/resolv.conf has:
 
<<<
# Generated by resolvconf
nameserver 127.0.0.1
>>>
 
So I'm curious why DNSMasq is not sending those requests to 127.0.0.1 if that's what configured in /etc/resolv.conf. Why is log saying "forwarded google.com to 192.168.1.2" instead of "forwarded google.com to 127.0.0.1"?
 
Thank you
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to