[Dnsmasq-discuss] newbie: How to make dnsmasq be authoritative

Bernard T. Higonnet bthcom at higonnet.net
Wed Dec 10 19:30:25 GMT 2008


I have just set up dnsmasq and generally everything seems to be OK 
(thanks to Simon Kelley).

But,

I have set dhcp-authoritative but when I dig an IP assigned by dnsmasq I 
get this:


; <<>> DiG 9.4.2 <<>> Zazalight
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6981
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;Zazalight.                     IN      A

;; ANSWER SECTION:
Zazalight.              0       IN      A       192.168.3.50

;; Query time: 3 msec
;; SERVER: 192.168.3.108#53(192.168.3.108)
;; WHEN: Wed Dec 10 20:16:49 2008
;; MSG SIZE  rcvd: 43


Apart from dhcp assigned IP's, I would have thought that dnsmasq would 
consider itself authoritative (especially if (as is the case) dnsmasq is 
indeed the only DNS server on the network)


Here is my complete configuration file:

log-queries
log-facility=/var/log/dnsmasq
dhcp-authoritative
expand-hosts
bogus-priv
domain-needed
cache-size=500
dhcp-host=00:16:d3:3b:4f:15,Zazalight,192.168.3.50,infinite
dhcp-range=192.168.3.51,192.168.3.99,12h
dhcp-option=option:router,192.168.3.1
mx-target=freebsd.paristolet.com



TIA
Bernard Higonnet



More information about the Dnsmasq-discuss mailing list