[Dnsmasq-discuss] try to setup RFC 2317 reverse DNS server

Simon Kelley simon at thekelleys.org.uk
Fri Aug 16 15:40:40 BST 2019

On 15/08/2019 14:19, Yangfl wrote:
> Hi,
> I'm trying to setup my reverse DNS server which is sub-delegated from
> the upstream by RFC 2317. However, I can not type any prefix len for
> `--rev-server` other than 8, 16, 24, like
> `--rev-server=,`, and I don't know how to make
> the server reply PTR request for '1.0/'.
> I know I might just get a better DNS software instead, but I'm still
> wondering if such can be achieved using only dnsmasq. Since I'm also
> using dnsmasq for DHCP server and DHCP-configured hosts, it would be a
> pain to switch to other DNS servers.

There's no support in dnsmasq for this. Since rev-server is just
syntactic sugar for the server command, you could do it the long way,
but it's not pretty:




More information about the Dnsmasq-discuss mailing list