axfrdns not working in dns-server package
|Affected version:||Affected Architecture:|
Zone transfers are not working in the dns-server package.
I have traced the problem out to these issues:
1. tinydns_setup_axfrdns() is not called in tinydns.inc
2. In tinydns_setup_axfrdns(), fwrite() $zonet - not $zone
3. At the end of tinydns_setup_axfrdns() the correct command needs to be called to build the tcpservice database:
exec("cd /service/axfrdns && tcprules tcp.cdb tcp.tmp < tcp");
4. In tinydns_setup_axfrdns(), start the "tcp" file with a ":deny" line to prevent unauthorized zone transfers.
I have attached my modified version of tinydns.inc.
#1 Updated by Ermal Luçi about 3 years ago
- Status changed from New to Feedback
This should be resolved in latest versions of the package.