[Dnsmasq-discuss] Authoritative
MacDonald Chapwanya
macdonald at aimssec.ac.za
Mon May 30 10:51:49 BST 2016
Hi
On Mon, May 30, 2016 at 9:51 AM, MacDonald Chapwanya <
macdonald at aimssec.ac.za> wrote:
> Dear All
>
> Does dnsmasq do authoritative? If so where can I find the documentation??
> Please help.
>
>
Sorry, we are referring to DNS not DHCP.
There is mention of authoritative DNS servers in the docs at
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
We tried
# authoritative dns server
auth-server=ns1.aimssec.ac.za,eth0
host-record=ns1.aimssec.ac.za,78.46.85.12
auth-zone=aimssec.ac.za,78.46.85.12/32
auth-peer=196.21.91.135
no-resolv
But there are suprisingly few third party blogs about running this, and it
is not working for us.
root at aimssecdns01:~# dig ns aimssec.ac.za @localhost
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> ns aimssec.ac.za @localhost
;; global options: +cmd
;; connection timed out; no servers could be reached
root at aimssecdns01:~#
Note this is a LXC container running on an internal IP 10.1.12.20
Without those lines we can serve hostnames:
root at aimssecdns01:~# dig www.aimssec.ac.za @localhost
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> www.aimssec.ac.za @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45422
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.aimssec.ac.za. IN A
;; ANSWER SECTION:
www.aimssec.ac.za. 3600 IN A 78.46.85.12
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon May 30 09:44:46 UTC 2016
;; MSG SIZE rcvd: 62
We just need to add glue records for ns1.aimssec.ac.za and ns2.aimssec.ac.za
in the config.
Regards
> Regards
>
> MacDonald Chapwanya
> *I.T Coordinator & Lecturer*
>
> *African Institute for Mathematical Sciences *| *School Enrichment Centre*
> http://aimssec.aims.ac.za | http://aiminghigh.aimssec.ac.za
> T: +27 (0) 21 787 9264 | F: +27 (0) 21 787 9321 | Skype: macdonaldchaps
> 65 Main Road, Muizenberg 7945, Cape Town
> *South Africa*
> <http:///aimssec.aims.ac.za>
> *Follow us on*: [image: Facebook] <https://www.facebook.com/aimssec>[image:
> Twitter] <https://twitter.com/aimssec>[image: LinkedIn]
> <https://www.linkedin.com/company/aimssec>[image: YouTube]
> <https://plus.google.com/u/0/b/110575766964485306044/110575766964485306044/posts>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160530/b82af8f7/attachment.html>
More information about the Dnsmasq-discuss
mailing list