Sorry I should have mentioned that before. digg and all DNS requests on the local machine work fine.<br><br><div class="gmail_quote">On Fri, Jan 13, 2012 at 4:00 AM, <span dir="ltr"><<a href="mailto:dnsmasq-discuss-request@lists.thekelleys.org.uk">dnsmasq-discuss-request@lists.thekelleys.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Message: 2<br>
Date: Fri, 13 Jan 2012 11:57:11 +0000<br>
From: Simon Kelley <<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>><br>
To: <a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
Subject: Re: [Dnsmasq-discuss] UDP DNS Requests<br>
Message-ID: <<a href="mailto:4F101C17.3080205@thekelleys.org.uk">4F101C17.3080205@thekelleys.org.uk</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
On 12/01/12 01:56, Mike Owens wrote:<br>
> I am able to get a UDP reply from the socket using nc. TCP requests are<br>
> handled fine. No UDP requests show up in the log. UDP request to the<br>
> upstream DNS server are answered fine when queried directly. Is there<br>
> anything that can cause UDP requests to be blocked other than a<br>
> firewall? The router isn't blocking UDP. This seems to be only dnsmasq.<br>
><br>
> Output from Dig:<br>
><br>
> [ ~]$ dig <a href="http://debian.org" target="_blank">debian.org</a> <<a href="http://debian.org" target="_blank">http://debian.org</a>> @<a href="http://192.168.1.115" target="_blank">192.168.1.115</a><br>
> <<a href="http://192.168.1.115" target="_blank">http://192.168.1.115</a>><br>
><br>
> ; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> <a href="http://debian.org" target="_blank">debian.org</a><br>
> <<a href="http://debian.org" target="_blank">http://debian.org</a>> @<a href="http://192.168.1.115" target="_blank">192.168.1.115</a> <<a href="http://192.168.1.115" target="_blank">http://192.168.1.115</a>><br>
> ;; global options: +cmd<br>
> ;; connection timed out; no servers could be reached<br>
> [ ~]$ dig +tcp <a href="http://debian.org" target="_blank">debian.org</a> <<a href="http://debian.org" target="_blank">http://debian.org</a>> @<a href="http://192.168.1.115" target="_blank">192.168.1.115</a><br>
> <<a href="http://192.168.1.115" target="_blank">http://192.168.1.115</a>><br>
><br>
> ; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> +tcp <a href="http://debian.org" target="_blank">debian.org</a><br>
> <<a href="http://debian.org" target="_blank">http://debian.org</a>> @<a href="http://192.168.1.115" target="_blank">192.168.1.115</a> <<a href="http://192.168.1.115" target="_blank">http://192.168.1.115</a>><br>
> ;; global options: +cmd<br>
> ;; Got answer:<br>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34510<br>
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0<br>
><br>
> ;; QUESTION SECTION:<br>
> ;<a href="http://debian.org" target="_blank">debian.org</a> <<a href="http://debian.org" target="_blank">http://debian.org</a>>. IN A<br>
><br>
> ;; ANSWER SECTION:<br>
> <a href="http://debian.org" target="_blank">debian.org</a> <<a href="http://debian.org" target="_blank">http://debian.org</a>>. 1992 IN A 206.12.19.7<br>
> <a href="http://debian.org" target="_blank">debian.org</a> <<a href="http://debian.org" target="_blank">http://debian.org</a>>. 1992 IN A 128.31.0.51<br>
><br>
> ;; Query time: 56 msec<br>
> ;; SERVER: 192.168.1.115#53(192.168.1.115)<br>
> ;; WHEN: Wed Jan 11 17:47:47 2012<br>
> ;; MSG SIZE rcvd: 60<br>
><br>
><br>
<br>
So what happens if you<br>
<br>
dig @<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> <a href="http://debian.org" target="_blank">debian.org</a><br>
<br>
on the machine running dnsmasq?<br>
<br>
Cheers,<br>
<br>
Simon.<br><br></blockquote></div>