Koozali.org: home of the SME Server

allowing zone transfers

Ard Kuijpers

allowing zone transfers
« on: December 24, 2003, 05:28:37 PM »
Hi all,

I'm trying to allow a W2K server to get the zone information from an SME server. For SME5.6 I have done this and it worked. For SME6.0b3, I installed AXFRDNS, but it does not seem to work.

I did the following (i followed the instructions at http://cr.yp.to/djbdns/tcp.html):
 * Allow zone transfer from primary server to secondary name server. First create a user
     groupadd -g 412 axfrdns
     useradd -u 412 -d /var/service/axfrdns -c "DNS Zone transfer user" -g 412 -s /bin/false axfrdns
     rm -fr /var/service/axfrdns
Create service directory (local IP address = 192.168.2.5)
    axfrdns-conf axfrdns dnslog /var/service/axfrdns /var/service/tinydns 192.168.2.5
If you want to allow an IP address to transfer all zones from your DNS server, add it to /var/service/axfrdns/tcp:
     echo '192.168.:allow' >> /var/service/axfrdns/tcp
As root, compile /etc/axfrdns/tcp into a hashed database
     cd /var/service/axfrdns/
     make
As root, tell svscan about the new service, and use svstat to check that the service is up:
     ln -s /var/service/axfrdns /service
     sleep 5
     svstat /service/axfrdns

It seems that AXFRDNS is working, but I cannot update the zone file in W2K. The log file (/var/service/axvfdns/log/main/current) gives:
     tcpserver: fatal: unable to bind: address already used

Does anybody know what I did wrong, or how I should set up zone transfer with SME6?

[%sig%]