Author Topic: DNS Zone Transfers  (Read 522 times)

ecc

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
DNS Zone Transfers
« on: September 10, 2019, 05:59:16 pm »
I'm looking to migrate from Zentyal 4.1x to Zentyal 6.1 and I want to transfer the host records over using a zone transfer. I've setup the NS records between the two servers but how do you initiate it?

I've looked around the forums etc to no avail,

Any advice gratefully received.

doncamilo

  • Zen Warrior
  • ***
  • Posts: 236
  • Karma: +55/-0
    • View Profile
Re: DNS Zone Transfers
« Reply #1 on: September 13, 2019, 11:33:29 am »
 :)

You have to do the zone transfer configuration between your old Zentyal server and the new one the usual way it is done in Bind9 ( read this: https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-14-04 ) However, Zentyal generates dinamically the Bind9 configuration files through templates ("stubs") with the data stored in a redis database. So, you have to modify these templates in order to customize these configurations in a persistent way. Please read this ( https://doc.zentyal.org/en/appendix-c.html#stubs)

Zentyal has his own set of server administration commands:

Code: [Select]
zs --help
Usage: /usr/bin/zs start|stop|restart
       /usr/bin/zs <module> start|stop|status|enabled|restart
# introduce a invalid string as module in order to see the modules names you can use with this tool.

This command can be used in order to force the transference of zone:

Code: [Select]
man rndc
sudo rndc reload ...
sudo rndc retransfer...



Cheers!
« Last Edit: September 13, 2019, 11:40:53 am by doncamilo »