[Dnsmasq-discuss] authoritative reverse zone
Williams, Gareth
gareth at garethwilliams.me.uk
Mon May 4 09:24:20 BST 2020
Hi,
I'm attempting to set up dnsmasq in my lab and wish it to be
authoritative for various internal test domains. I'm not setting up
global DNS as these are all internal-only.
I've setup a minimal config as follows:
no-dhcp-interface=
no-resolve
local-ttl=60
server=ip.of.upstream
server=/second.test/172.28.140.10/
auth-server=ns.int.my.domain
auth-zone=first.test,172.28.136.0/24
host-record=a1.first.test,172.28.136.10
With the above, I can "dig SOA first.test @localhost" and I get the NS
and SOA record. I can also "dig a1.first.test @localhost" and I get
the A record and can "dig -x 172.28.136.10 @localhost" and I get the
PTR record.
However, if I "dig SOA -x 172.28.136.0 @localhost" I see the query,
but no answer. Monitoring the logs shows dnsmasq forwarding it
upstream.
The last paragraph of the man page under auth-zone says that the IP
address and subnet is for reverse-DNS queries. Am I missing
something? Shouldn't I get the SOA record of the reverse-DNS lookup?
Thanks in advance,
Gareth
More information about the Dnsmasq-discuss
mailing list