<div dir="ltr">Hi<br><div class="gmail_extra"><br clear="all"><br><div class="gmail_quote">On Mon, May 30, 2016 at 9:51 AM, MacDonald Chapwanya <span dir="ltr"><<a href="mailto:macdonald@aimssec.ac.za" target="_blank">macdonald@aimssec.ac.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear All<br><br>Does dnsmasq do authoritative? If so where can I find the documentation?? Please help.<br><br></div></div></blockquote><div><br></div><div>Sorry, we are referring to DNS not DHCP.<br></div><div>There is mention of authoritative DNS servers in the docs at <a href="http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html" target="_blank">http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html</a><br><br></div><div>We tried<br><br># authoritative dns server<br>auth-server=<a href="http://ns1.aimssec.ac.za" target="_blank">ns1.aimssec.ac.za</a>,eth0<br>host-record=<a href="http://ns1.aimssec.ac.za" target="_blank">ns1.aimssec.ac.za</a>,78.46.85.12<br>auth-zone=<a href="http://aimssec.ac.za" target="_blank">aimssec.ac.za</a>,<a href="http://78.46.85.12/32" target="_blank">78.46.85.12/32</a><br>auth-peer=196.21.91.135<br></div><div>no-resolv<br><br></div><div>But there are suprisingly few third party blogs about running this, and it is not working for us.<br><br></div><div>root@aimssecdns01:~# dig ns <a href="http://aimssec.ac.za" target="_blank">aimssec.ac.za</a> @localhost<br><br>; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> ns <a href="http://aimssec.ac.za" target="_blank">aimssec.ac.za</a> @localhost<br>;; global options: +cmd<br>;; connection timed out; no servers could be reached<br>root@aimssecdns01:~# <br><br>Note this is a LXC container running on an internal IP 10.1.12.20<br><br></div><div>Without those lines we can serve hostnames:<br>root@aimssecdns01:~# dig <a href="http://www.aimssec.ac.za" target="_blank">www.aimssec.ac.za</a> @localhost<br><br>; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> <a href="http://www.aimssec.ac.za" target="_blank">www.aimssec.ac.za</a> @localhost<br>;; global options: +cmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45422<br>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1<br><br>;; OPT PSEUDOSECTION:<br>; EDNS: version: 0, flags:; udp: 4096<br>;; QUESTION SECTION:<br>;<a href="http://www.aimssec.ac.za" target="_blank">www.aimssec.ac.za</a>.        IN    A<br><br>;; ANSWER SECTION:<br><a href="http://www.aimssec.ac.za" target="_blank">www.aimssec.ac.za</a>.    3600    IN    A    78.46.85.12<br><br>;; Query time: 0 msec<br>;; SERVER: 127.0.0.1#53(127.0.0.1)<br>;; WHEN: Mon May 30 09:44:46 UTC 2016<br>;; MSG SIZE  rcvd: 62<br><br></div><div>We just need to add glue records for <a href="http://ns1.aimssec.ac.za" target="_blank">ns1.aimssec.ac.za</a> and <a href="http://ns2.aimssec.ac.za">ns2.aimssec.ac.za</a> in the config.<br><br></div><div><br></div><div>Regards<br></div><div><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>Regards<br clear="all"><div><div><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b style="font-size:12.8px"><br></b></div><div dir="ltr"><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="font-size:12.8px">MacDonald Chapwanya</span><br></div><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><b>I.T Coordinator & Lecturer</b></div><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="font-family:Helvetica;font-size:12px"><b style="color:rgb(0,0,0)">African Institute for Mathematical Sciences </b><font color="#000000">| </font><b><font color="#660000">School Enrichment Centre</font></b></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="http://aimssec.aims.ac.za/" target="_blank">http://aimssec.aims.ac.za</a> | <a href="http://aiminghigh.aimssec.ac.za/" target="_blank">http://aiminghigh.aimssec.ac.za</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">T: <a href="tel:%2B27%20%280%29%2021%20787%209264" value="+27217879264" target="_blank">+27 (0) 21 787 9264</a> | F: <a href="tel:%2B27%20%280%29%2021%20787%209321" value="+27217879321" target="_blank">+27 (0) 21 787 9321</a> | Skype: macdonaldchaps</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">65 Main Road, Muizenberg 7945, Cape Town</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><b>South Africa</b></div></div><div dir="ltr"><a href="http:///aimssec.aims.ac.za" target="_blank"><img src="https://docs.google.com/a/aimssec.ac.za/uc?id=0B9Uhm1SVjxeNa3ZadU1YSXhIeGc&export=download" height="109" width="420"></a><br></div><div><b>Follow us on</b>:      <a href="https://www.facebook.com/aimssec" target="_blank"><img alt="Facebook" src="https://docs.google.com/uc?export=download&id=0B9Uhm1SVjxeNb29IXzFnMEJLems&revid=0B9Uhm1SVjxeNQVM4QS9LSSt3MTdRTk1LSCtDWVA3c0tXVTBZPQ" height="25" width="25"></a><a href="https://twitter.com/aimssec" target="_blank"><img alt=" Twitter" src="https://docs.google.com/uc?export=download&id=0B9Uhm1SVjxeNU0xOUjZPR093aGM&revid=0B9Uhm1SVjxeNN1pKWGhvbUlKb21KRENyMTNlRVNvSnN1Y3RJPQ" height="25" width="25"></a><a href="https://www.linkedin.com/company/aimssec" target="_blank"><img alt=" LinkedIn" src="https://docs.google.com/uc?export=download&id=0B9Uhm1SVjxeNZWlST05fT3BEOGs&revid=0B9Uhm1SVjxeNVlF0TnlQWW4xcnhkYk9rK3U2Y2pxL0NEcEs4PQ" height="25" width="25"></a><a href="https://plus.google.com/u/0/b/110575766964485306044/110575766964485306044/posts" target="_blank"><img alt=" YouTube" src="https://docs.google.com/uc?export=download&id=0B9Uhm1SVjxeNRnc1cTkxMkxJR0U&revid=0B9Uhm1SVjxeNQnAzNzkybU95VHhCYTBOeHhseHRwMFJqbVo4PQ" height="25" width="25"></a><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div>
</blockquote></div><br></div></div>