Discussion:
[Dnsmasq-discuss] Authoritative
MacDonald Chapwanya
2016-05-30 07:51:56 UTC
Permalink
Dear All

Does dnsmasq do authoritative? If so where can I find the documentation??
Please help.

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>
MacDonald Chapwanya
2016-05-30 09:51:49 UTC
Permalink
Hi


On Mon, May 30, 2016 at 9:51 AM, MacDonald Chapwanya <
Post by MacDonald Chapwanya
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.

***@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
***@aimssecdns01:~#

Note this is a LXC container running on an internal IP 10.1.12.20

Without those lines we can serve hostnames:
***@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
Post by MacDonald Chapwanya
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>
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>
Albert ARIBAUD
2016-05-30 09:46:03 UTC
Permalink
Hello,

Le Mon, 30 May 2016 09:51:56 +0200
Post by MacDonald Chapwanya
Dear All
Does dnsmasq do authoritative? If so where can I find the
documentation?? Please help.
Whether about DHCP or DNS, you will find the answer by looking up the
dnsmasq man page -- search for substring "thorita".

Amicalement,
--
Albert.
Thiago Farina
2016-06-18 09:02:21 UTC
Permalink
On Mon, May 30, 2016 at 9:51 AM, MacDonald Chapwanya <
Post by MacDonald Chapwanya
Dear All
Does dnsmasq do authoritative? If so where can I find the documentation??
Please help.
Do you need an authoritative dns server? What are you trying to do?
--
Thiago Farina
Loading...