<div dir="ltr"><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Hey guys,</span><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">I'm trying to run my own dnsmasq instance on a computer. I want it to be authoritative for my domain (<a href="http://local.example.com/" target="_blank">local.example.com</a>). However I am getting different results for the same query from different computers. </div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">dig @<a href="http://100.108.108.176/" target="_blank">100.108.108.176</a><span class="inbox-inbox-Apple-converted-space"> </span><a href="http://b.local.example.com/" target="_blank">b.local.example.com</a>. A</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">When I run this from the dns server itself (100.108.108.176) I get an ip as a response and the following in the logs:</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><div>Jul 11 14:47:53 MY_DNS_SERVER.com dnsmasq[30817]: query[A]<span class="inbox-inbox-Apple-converted-space"> </span><a href="http://b.local.example.com/" target="_blank">b.local.example.com</a><span class="inbox-inbox-Apple-converted-space"> </span>from 100.108.108.176</div><div>Jul 11 14:47:53 MY_DNS_SERVER.com dnsmasq[30817]: /etc/hosts 1.2.3.50 is<span class="inbox-inbox-Apple-converted-space"> </span><a href="http://b.local.example.com/" target="_blank">b.local.example.com</a></div><div><br></div><div>When I run this from a different computer on a different network I do not get an IP. Instead dig returns an a SOA pointing to itself (MY_DNS_SERVER.com). Furthermore, the logs show the following: </div><div><br></div><div>Jul 11 14:49:29 MY_DNS_SERVER.com dnsmasq[30817]: auth[A]<span class="inbox-inbox-Apple-converted-space"> </span><a href="http://b.local.example.com/" target="_blank">b.local.example.com</a><span class="inbox-inbox-Apple-converted-space"> </span>from 172.27.88.26</div><div>Jul 11 14:49:29 MY_DNS_SERVER.com dnsmasq[30817]: auth<span class="inbox-inbox-Apple-converted-space"> </span><a href="http://b.local.example.com/" target="_blank">b.local.example.com</a><span class="inbox-inbox-Apple-converted-space"> </span>is NODATA-IPv4</div></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">I'm not sure whats happening. It seems it interprets one as a query[A] and one auth[A]. It seems in the 2nd response it thinks it doesn't know how to handle that domain so it returns who it thinks is authoritative for that domain, which is itself. This is what my dnsmasq.conf looks like:</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><div><br></div><div>auth-server=MY_DNS_SERVER.com,eth0</div><div>auth-zone=<a href="http://local.example.com/" target="_blank">local.example.com</a>,eth0</div><div><br></div><div>log-queries</div><div><br></div><div>#do not read resolv.conf to find servers where to lookup dns</div><div>no-resolv</div><div>#do not poll resolve.conf for changes</div><div>no-poll</div><div><br></div><div>#address to use when address not local</div><div>server=8.8.8.8</div><div>server=4.4.4.4</div><div><br></div><div>local=/<a href="http://local.example.com/" target="_blank">local.example.com/</a></div><div>domain=<a href="http://local.example.com/" target="_blank">local.example.com</a></div><div><br></div></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">If you need any more information, let me know.</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Thanks,</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Aaron</div></div>