[Dnsmasq-discuss] DNSMasq forwarding timeout

Simon Kelley simon at thekelleys.org.uk
Mon Oct 5 22:07:04 BST 2015


It looks like there's a routing problem that's stopping the query
getting to 8.8.8.8, or stopping the answer getting back.


Does

dig @8.8.8.8 google.com

work? Until you can make that work, dnsmasq is not going to work either.

Simon.


On 04/10/15 06:17, Tj Glawitsch wrote:
> I have dnsmasq (optware) installed on an ARM based NAS (LinkStation) and
> DHCP/TFTP are seemingly fine, DNS is failing only on forwarding regardless
> how I go about configuring and testing (resolv.conf, server=ip, etc.)
> 
> /var/log/messages shows just the query being run three times on the four
> servers entered and quits.
> strace...  same thing:
> 
> gettimeofday({1443934488, 192360}, NULL) = 0
> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
> write(11, "<134>Oct  4 00:54:48 dnsmasq[457"..., 72) = 72
> sendto(12, "[R\1\0\0\1\0\0\0\0\0\0\6google\3com\0\0\1\0\1", 28, 0,
> {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, 16)
> = 28
> write(2, "dnsmasq: ", 9dnsmasq: )                = 9
> write(2, "forwarded google.com to 8.8.8.8", 31forwarded google.com to
> 8.8.8.8) = 31
> write(2, "\n", 1
> )
> 
> Testing both locally and remotely:
> * nslookup works as expected using resolv.conf (direct network)
> * nslookup works as expected using dnsmasq with local addresses in
> dnsmasq.conf
> * nslookup works as expected using dnsmasq with local addresses in
> /etc/hosts
> * nslookup times out using dnsmasq->resolv.conf for upstream
> * There are no firewalls installed (yet)
> * SELinux does not apply to this device
> * Device IP is static (10.0.0.254), no other DNS/DHCP servers running on
> the 10 network
> * Default route is in place and otherwise seems to be correct (
> 10.0.0.0/255.0.0.0 -> 10.0.0.1 router)
> * trace/ping to the listed name servers is fine
> 
> Thoughts/ideas appreciated!
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list