<div dir="ltr"><div class="gmail_signature">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.)<br></div><div class="gmail_signature"><div></div></div><div class="gmail_signature"><br></div><div class="gmail_signature">/var/log/messages shows just the query being run three times on the four servers entered and quits.<br></div><div class="gmail_signature">strace...  same thing:</div><div class="gmail_signature"><br></div><div class="gmail_signature"><div class="gmail_signature">gettimeofday({1443934488, 192360}, NULL) = 0</div><div class="gmail_signature">stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0</div><div class="gmail_signature">write(11, "<134>Oct  4 00:54:48 dnsmasq[457"..., 72) = 72</div><div class="gmail_signature">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</div><div class="gmail_signature">write(2, "dnsmasq: ", 9dnsmasq: )                = 9</div><div class="gmail_signature">write(2, "forwarded <a href="http://google.com">google.com</a> to 8.8.8.8", 31forwarded <a href="http://google.com">google.com</a> to 8.8.8.8) = 31</div><div class="gmail_signature">write(2, "\n", 1</div><div class="gmail_signature">)</div><div class="gmail_signature"><br></div><div class="gmail_signature">Testing both locally and remotely:</div><div class="gmail_signature">* nslookup works as expected using resolv.conf (direct network)<br></div><div class="gmail_signature">* nslookup works as expected using dnsmasq with local addresses in dnsmasq.conf</div><div class="gmail_signature">* nslookup works as expected using dnsmasq with local addresses in /etc/hosts</div><div class="gmail_signature">* nslookup times out using dnsmasq->resolv.conf for upstream<br></div><div class="gmail_signature"><div class="gmail_signature">* There are no firewalls installed (yet)</div><div class="gmail_signature">* SELinux does not apply to this device</div><div class="gmail_signature">* Device IP is static (10.0.0.254), no other DNS/DHCP servers running on the 10 network</div><div>* Default route is in place and otherwise seems to be correct (<a href="http://10.0.0.0/255.0.0.0">10.0.0.0/255.0.0.0</a> -> 10.0.0.1 router)</div><div>* trace/ping to the listed name servers is fine</div><div><br></div><div>Thoughts/ideas appreciated!</div><div><br></div></div></div>
</div>