[Dnsmasq-discuss] DNSMasq forwarding timeout
Tj Glawitsch
centralware at gmail.com
Sun Oct 4 06:17:40 BST 2015
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20151004/55d05e3d/attachment.html>
More information about the Dnsmasq-discuss
mailing list