spamhaus / rbldnsd

A small and fast DNS daemon especially made to serve DNSBL zones.
https://rbldnsd.io/
GNU General Public License v2.0
57 stars 12 forks source link

Zone Transfer? #26

Closed Skeeve closed 2 years ago

Skeeve commented 2 years ago

Hi. Is it possible to implement Zone Transfer? Currently I seem to be unable to use it:

/ # dig @127.0.0.1 my.fine.do.main AXFR
;; Connection to 127.0.0.1#53(127.0.0.1) for my.fine.do.main failed: connection refused.
/ # nslookup -query=AXFR my.fine.do.main 127.0.0.1
;; Connection to 127.0.0.1#53(127.0.0.1) for my.fine.do.main failed: connection refused.
Skeeve commented 2 years ago

Just read:

rbldnsd does not allow AXFR operations. For DNSBLs, AXFR is the stupidiest yet common thing to do - use rsync for zone transfers instead. This isn't a bug in rbldnsd itself, but in common practice of using AXFR and the like to transfer huge zones in a format which isn't suitable for such a task. Perhaps in the future, if there will be some real demand, I'll implement AXFR "server" support (so that rbldnsd will be able to act as master for BIND nameservers, but not as secondary), but the note remains: use rsync.

I close this issue accordingly.