Hi Simon,<br><br>I looked into this some more.&nbsp; I still feel like maybe something might be wrong with either my configuration or maybe dnsmasq itself.&nbsp; I just launched dnsmasq using the -d argument and executed &quot;host 
<a href="http://mail.isomorphism.org">mail.isomorphism.org</a>&quot;.&nbsp; The output was slightly different this time and pretty interesting.&nbsp; Here&#39;s the output of the host command:<br><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">$ host <a href="http://mail.isomorphism.org">mail.isomorphism.org</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
<a href="http://mail.isomorphism.org">mail.isomorphism.org</a> is an alias for <a href="http://ghs.GOOGLE.COM">ghs.GOOGLE.COM</a>.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
<a href="http://ghs.GOOGLE.COM">ghs.GOOGLE.COM</a> is an alias for <a href="http://ghs.l.GOOGLE.COM">ghs.l.GOOGLE.COM</a>.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Host <a href="http://ghs.l.GOOGLE.COM.austin.rr.com">ghs.l.GOOGLE.COM.austin.rr.com</a> not found: 5(REFUSED)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Host <a href="http://ghs.l.GOOGLE.COM.austin.rr.com">
ghs.l.GOOGLE.COM.austin.rr.com</a> not found: 5(REFUSED)</span><br><br>And the output from &quot;dnsmasq -d&quot;:<br><br><span style="font-family: courier new,monospace;">$ sudo dnsmasq -d</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dnsmasq: started, version 2.39 cachesize 150</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: compile time options: IPv6 GNU-getopt no-ISC-leasefile DBus I18N TFTP
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: DHCP, IP range <a href="http://192.168.1.100">192.168.1.100</a> -- <a href="http://192.168.1.200">192.168.1.200
</a>, lease time 12h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: using local addresses only for domain <a href="http://isomorphism.org">isomorphism.org</a>
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: using nameserver 69.60.109.125#53 for domain <a href="http://mail.isomorphism.org">mail.isomorphism.org</a>
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: reading /etc/resolv.conf</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
dnsmasq: ignoring nameserver <a href="http://127.0.0.1">127.0.0.1</a> - local interface</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: using local addresses only for domain 
<a href="http://isomorphism.org">isomorphism.org</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: using nameserver 69.60.109.125#53 for domain <a href="http://mail.isomorphism.org">
mail.isomorphism.org</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: read /etc/hosts - 8 addresses</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dnsmasq: query[A] <a href="http://mail.isomorphism.org">mail.isomorphism.org</a> from <a href="http://127.0.0.1">127.0.0.1</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dnsmasq: forwarded <a href="http://mail.isomorphism.org">mail.isomorphism.org</a> to <a href="http://69.60.109.125">69.60.109.125</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dnsmasq: reply <a href="http://mail.isomorphism.org">mail.isomorphism.org</a> is &lt;CNAME&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
dnsmasq: reply <a href="http://ghs.GOOGLE.COM">ghs.GOOGLE.COM</a> is &lt;CNAME&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: reply <a href="http://ghs.l.GOOGLE.COM">
ghs.l.GOOGLE.COM</a> is &lt;NODATA&gt;-IPv4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: query[AAAA] <a href="http://ghs.l.GOOGLE.COM">ghs.l.GOOGLE.COM</a>
 from <a href="http://127.0.0.1">127.0.0.1</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: query[AAAA] <a href="http://ghs.l.GOOGLE.COM.austin.rr.com">ghs.l.GOOGLE.COM.austin.rr.com
</a> from <a href="http://127.0.0.1">127.0.0.1</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: query[MX] <a href="http://ghs.l.GOOGLE.COM">ghs.l.GOOGLE.COM
</a> from <a href="http://127.0.0.1">127.0.0.1</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dnsmasq: query[MX] <a href="http://ghs.l.GOOGLE.COM.austin.rr.com">
ghs.l.GOOGLE.COM.austin.rr.com</a> from <a href="http://127.0.0.1">127.0.0.1</a></span><br style="font-family: courier new,monospace;"><br>So it seems like dnsmasq is somehow appending my domain name (<a href="http://isomorphism.org">
isomorphism.org</a>) to full domain names.<br><br>Here is what is effectively in my dnsmasq.conf file (I stripped comments and blank lines):<br><br><span style="font-family: courier new,monospace;">$ cat dnsmasq.conf | grep -v &quot;^#&quot; | grep -v &quot;^\s*$&quot;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">domain-needed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
server=/mail.isomorphism.org/69.60.109.125</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">local=/isomorphism.org/</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">except-interface=eth1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">expand-hosts</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">domain=<a href="http://isomorphism.org">isomorphism.org</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">dhcp-range=
<a href="http://192.168.1.100">192.168.1.100</a>,<a href="http://192.168.1.200">192.168.1.200</a>,12h</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
... bunch of lines mapping MAC address to ip address and name removed ...</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
dhcp-authoritative</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">log-queries</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
log-dhcp</span><br style="font-family: courier new,monospace;"><br><br>Am I doing something wrong here?&nbsp; Maybe the domain-needed parameter is causing this?<br><br>Thanks,<br>Brandon<br><br><br><div class="gmail_quote">On Jan 11, 2008 6:03 AM, Simon Kelley &lt;
<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Brandon Beck wrote:<br>&gt; Hi Simon,<br>&gt;<br>&gt; I&#39;m trying to implement your suggestion, but I&#39;m having some troubles with<br>&gt; it. &nbsp;Here&#39;s what I&#39;ve done/what I know:<br>&gt;<br>&gt; 1) &nbsp;I&#39;ve added the line&quot;server=/mail.isomorphism.org/69.60.109.125&quot; to my
<br>&gt; dnsmasq.conf. &nbsp;The ip address corresponds to my primary name server for my<br>&gt; domain (<a href="http://ns.dominia.org" target="_blank">ns.dominia.org</a>).<br><br></div>&gt; *bbeck@server:~$ dig <a href="http://mail.isomorphism.org" target="_blank">
mail.isomorphism.org</a><br><div class="Ih2E3d">&gt; *<br>&gt; ; &lt;&lt;&gt;&gt; DiG 9.4.1-P1 &lt;&lt;&gt;&gt; <a href="http://mail.isomorphism.org" target="_blank">mail.isomorphism.org</a><br>&gt; ;; global options: &nbsp;printcmd
<br>&gt; ;; Got answer:<br>&gt; ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 18191<br>&gt; ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0<br>&gt;<br>&gt; ;; QUESTION SECTION:<br>&gt; ;mail.isomorphism.org. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;A
<br>&gt;<br>&gt; ;; ANSWER SECTION:<br>&gt; <a href="http://mail.isomorphism.org" target="_blank">mail.isomorphism.org</a>. &nbsp; 41407 &nbsp; IN &nbsp; &nbsp; &nbsp;CNAME &nbsp; <a href="http://ghs.GOOGLE.COM" target="_blank">ghs.GOOGLE.COM</a>.<br>
&gt; <a href="http://ghs.GOOGLE.COM" target="_blank">ghs.GOOGLE.COM</a>. &nbsp; &nbsp; &nbsp; &nbsp; 464425 &nbsp;IN &nbsp; &nbsp; &nbsp;CNAME &nbsp; <a href="http://ghs.l.GOOGLE.COM" target="_blank">ghs.l.GOOGLE.COM</a>.<br>&gt;<br>&gt; ;; Query time: 0 msec<br>&gt; ;; SERVER: 
127.0.0.1#53(<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>)<br>&gt; ;; WHEN: Thu Jan 10 22:46:21 2008<br>&gt; ;; MSG SIZE &nbsp;rcvd: 96<br>&gt;<br><br></div>I think the problem is just that you&#39;re using the wrong server. I guess
<br>that the primary name server for your domain is configured as just that:<br>an authoritative nameserver. If instead, you just use the same<br>nameserver that&#39;s in /etc/resolv.conf, probably the recursive nameserver
<br>that&#39;s provided by your ISP, then it will just work.<br><br>I did the same query as you to <a href="http://69.60.109.125" target="_blank">69.60.109.125</a> and got the same answer. If<br>I send the query instead to my ISPs nameserver, via dnsmasq, I get the
<br>correct answer<br><br>srk@spike:~/dnsmasq-2.41/dnsmasq-2.41$ dig <a href="http://mail.isomorphism.org" target="_blank">mail.isomorphism.org</a><br><br>; &lt;&lt;&gt;&gt; DiG 9.3.2-P1 &lt;&lt;&gt;&gt; <a href="http://mail.isomorphism.org" target="_blank">
mail.isomorphism.org</a><br><div class="Ih2E3d">;; global options: &nbsp;printcmd<br>;; Got answer:<br></div>;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 64849<br><div class="Ih2E3d">;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
<br><br>;; QUESTION SECTION:<br>;mail.isomorphism.org. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;A<br><br>;; ANSWER SECTION:<br></div><a href="http://mail.isomorphism.org" target="_blank">mail.isomorphism.org</a>. &nbsp; 42503 &nbsp; IN &nbsp; &nbsp; &nbsp;CNAME &nbsp; <a href="http://ghs.google.com" target="_blank">
ghs.google.com</a>.<br><a href="http://ghs.google.com" target="_blank">ghs.google.com</a>. &nbsp; &nbsp; &nbsp; &nbsp; 593393 &nbsp;IN &nbsp; &nbsp; &nbsp;CNAME &nbsp; <a href="http://ghs.l.google.com" target="_blank">ghs.l.google.com</a>.<br><a href="http://ghs.l.google.com" target="_blank">
ghs.l.google.com</a>. &nbsp; &nbsp; &nbsp; 174 &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; <a href="http://72.14.207.121" target="_blank">72.14.207.121</a><br><br>;; Query time: 16 msec<br>;; SERVER: 192.168.0.4#53(<a href="http://192.168.0.4" target="_blank">
192.168.0.4</a>)<br>;; WHEN: Fri Jan 11 11:59:14 2008<br>;; MSG SIZE &nbsp;rcvd: 102<br><br><br>HTH<br><br><br>Simon.<br><br><br>I get exc<br></blockquote></div><br>