Plesk Push Zone Records to cPanel DNS cluster?

Discussion in 'Parallels Plesk Panel 9.x for Windows Suggestions and Feedback' started by robsimm, Jul 13, 2009.

  1. robsimm

    robsimm New Member

    Messages:
    12
    Hi there,

    I've attempted to work with cPanel on this, but they stated that I need to 'automate' the upload of zone records from plesk to my cPanel DNS cluster?

    Essentially, I am trying to achieve the following:

    1x Centos 5.3 Server running cPanel DNS only (dns.domain.com)
    1x Centos 5.3 Server running cPanel/WHM (lin.domain.com)
    1x Windows Server 2003 running Plesk 9

    I want all of the boxes to run under the nameservers:

    ns1.domain.com
    ns2.domain.com

    Both of these nameservers reside on the cPanel DNS only server (dns.domain.com). I have got the zone files synchronising successfully between the two linux servers (as cPanel DNS has built in synchronisation), but I am now attempting to get my Plesk domains to sync with the dns server automatically, but have not found one solution so far.

    The staff at cPanel have stated I need to "push" the zone information from my Plesk server to the cPanel DNS only server. Has anyone got a solution for this, or perhaps any ideas on how to achieve this?

    Also, any comments on this solution or perhaps a more scalable solution would be greatly appreciated.

    I look forward to your responses.
  2. parallels parallels

    parallels parallels New Member

    Messages:
    2
    bump.... I would like to know as well
  3. mikelegg

    mikelegg New Member

    Messages:
    134
    I've been trying to do the same thing myself.
  4. Angus Thomson

    Angus Thomson New Member

    Messages:
    14
    We found its actually not that difficult to do

    change to Bind DNS on the windows box and create a set of rsync scripts on the cpanel box or a windows rsync equivalent to grab or push the named files from the windows box and save to a temporary folder on the cpanel box and then create yourself a bash script to run after the sync to rename the files to the correct cpanel bind file name format and then move them to the /var/named directory and restart bind and your done

    we run it as an hourly sync and have this working across a dozen Plesk windows and Plesk linux boxes

    hope this helps someone as we looked for a workable solution for the past few years without finding something that actually worked
  5. logh

    logh New Member

    Messages:
    1
    Hi,

    Can u let us know the script you are using to rename the Dns zones to cpanel format.
  6. dongd

    dongd New Member

    Messages:
    1
    This approach to achieve it?

Share This Page