[Dnsmasq-discuss] AXFR

Simon Kelley simon at thekelleys.org.uk
Mon Feb 11 14:51:24 GMT 2008

David Gauchard wrote:
> Hello,
> I would like first to thank the developpment team for this
> interesting piece of software.
> I'm using dnsmasq at home, and I'm beeing using it at work on
> an experimental network. It is very practical to me, and so
> far it works great (dns, dhcp with pxe).
> However I'm in the need of a DNS server that accepts AXFR
> requests. This is a request from my admins if I want my
> dnsmasq-ed server to be set-up as the primary dns server for
> my experimental network, the secondary would be bind9 on my
> main office-network (which I don't administer).
> I understood that AXFR is not supported on dnsmasq (I've
> checked some mailing list archives before writing here).
> gauchard at here:~>dig mydomain.fr @dnsip AXFR
> ; <<>> DiG 9.3.4 <<>> mydomain.fr @dnsip AXFR
> ; (1 server found)
> ;; global options:  printcmd
> ; Transfer failed.
> My questions are:
> - is it planned to be supported in any future release ?

No, it's too far outside the niche which dnsmasq occupies. The extra
code-size would be carried by everyone, (and it would hurt on small
embedded routers) but very few installations would use it.

> - would you think it would be a huge amount of work to do so
>   (please understand that I'm asking for an advice if ever I'd
>   try and add the feature by myself)

It would be quite a lot of work.

I don't really have enough information about you setup, but this might
be a way forward.

1) Set up a BIND server just to be authoritative for you domain. That
will support AXFR to the secondary.

2) Keep your existing dnsmasq installation, but point it at the BIND
server just for your domain

server=/my.domain/<ip of BIND>

If you have to run both servers on the same machine, it's still possible
but a bit more involved.



> Thanks,
> David Gauchard
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list