Bug #119

axfrdns not working in dns-server package

Added by Mike Jones over 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:10/23/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version: Affected Architecture:

Description

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.

tinydns.inc - Modified tinydns.inc (34.9 kB) Mike Jones, 10/23/2009 04:49 pm

History

#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.

#2 Updated by Chris Buechler almost 3 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF