DNS Manager can act as a primary DNS server while updating the DNS Zone information from a remote server. In this case, DNS Manager will have to get full DNS Zone information from the remote server, not only the DNS Zone names like in the previous case.
In our example, we will use a Plesk server. In order to generate the full DNS Zones information on a Plesk server, we will use a script from DNS Manager.
Retrieve the plesk_export.sh
scrip from DNSMANAGER_ROOT_D/remote
directory. This shell script created by 4PSA for Plesk servers write a file with the names of all the domains on this server and their full DNS Records. The program accepts the name of the final destination file as argument.
cron
and make sure that it will write the list of the domains to a directory that can be accessed over the web.Configure the script to export master zones and optionally allow_transfer
records (edit the script to set the required variables as defined in the script). For example, the command below will dump the list of the domains to a file that can be accessed at http://www.mydomain.com/zone.txt
sh plesk_export.sh /home/httpd/vhosts/mydomain.com/httpdocs/zone.txt |
Keep in mind that you must add the |
DNSMANAGER_ROOT_D/remote
directory.The current version of DNS Manager is shipped with update scripts for Plesk, Ensim, InterWorx Control Panel, Helm, Cobalt and older DNS Manager versions.
For other control panels, which use |