How to sync iworx DNS to a non-iworx DNS server

  • Step 1: Identify the IP address of your interworx primary nameserver (a.b.c.d)

  • Step 2: Identify the IP address of your bind secondary nameserver (e.f.g.h)

  • Step 3a: If you want to allow transfer of only a subset of the domains on the interworx server, on the interworx server run the following:

    echo 'e.f.g.h:allow,AXFR="site1.com/site2.com/site3.com"' >> /service/axfrdns-a.b.c.d/tcp
    
  • Step 3b: If you want to allow transfer of all the domains on the interworx server, on the interworx server run the following:

    echo 'e.f.g.h:allow' >> /service/axfrdns-a.b.c.d/tcp
    
  • Step 4: Recompile the TCP file so that it’s valid.

    cd /service/axfrdns-a.b.c.d/
    make
    
  • Step 5: Restart the AXFRDNS service.

    svc -t /service/axfrdns-*
    
  • Step 6: Test from the bind server, like this:

    dig @a.b.c.d site1.com axfr