• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

DNS zone transfer...

R

Rockhopper

Guest
Hi

I am trying to migrate a whole bunch of domain names from a BIND8 DNS server to a Plesk server so clients can manage their own DNS records.

As a test I setup test.com on the plesk server, enabled DNS and set Plesk as a slave DNS server with my BIND DNS server as it's master.

I enabled zone transfers on my BIND server and that all works fine - Plesk correctly zone transfer's all the records from the BIND server to itself, I have verified this in the domain names config file in /var/named/run-root/var.

However I now want to change the domain name on the Plesk server so that it is the master record but when I click 'Switch DNS Service Mode' it just wipes the records it has transferred in and replaces it with the default zone template.

Is there a way to convert from slave to master without wiping the existing records?

Thanks
Rob
 
Okay - In case anyone else stumbles across this post with the same question - In short the answer is NO!

For additional reference:

http://forum.parallels.com/showthread.php?t=90174&highlight=DNS+zone

Basically if Plesk is the SLAVE it will transfer the zone file using BIND and just use a static zone file, I am guessing it will periodicly refresh this as DNS does.

If the Plesk server is the MASTER, the zone file is generated (presumably each time a change is made) from Plesk's internal database so when you change from slave to master it will delete the transferred zone and write a new zone from what it has stored in the database.

There is no means (as far as I can see) to parse a transferred zone file into Plesks database.

So in conclusion the only way I can see for you to migrate a large number of zone files from a standalone BIND server (or any other DNS server) into Plesk is:

- To write your own script/s that will parse a zone file/s and write it into the Plesk database via the command line:

http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.5-unix-cli/

-OR-

- To write your own script/s that will parse a zone file/s and write it into the Plesk database via the XML API:

http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.3-api-rpc-guide/


Rob
 
Back
Top