• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue create DNS Zones for all Domains

Michael Huber

Basic Pleskian
Hello,

I install Bind on a Plesk 12.5 Server. this server has already 500 Domains.

how to create the DNS Zones for all domains in a batch (from template in tools & Settings)

thank you
 
Hi Michael Huber,

you might consider to use the following commands over your command line ( logged in as user "root" ):

Code:
ls /var/www/vhosts/system | while read x; do /usr/local/psa/bin/dns --on $x; done
/usr/local/psa/admin/bin/dnsmng --restart

The first command assumes, that all your 500 domains are setup with the standart Plesk - vhosts - configuration at "/var/www/vhosts/system" - if this differs on your server, pls. change the command/location to your unique modification.
 
Thank you for help, but is not working.
root@sw-cz01:/var/log# plesk bin dns --on xxxxxxxxxxx.com
SUCCESS: Switching DNS state for Domain 'xxxxxxxxxxx.com' complete.
root@sw-cz01:/var/log# /usr/local/psa/admin/bin/dnsmng --restart


in Plesk DNS Settings display me:
No items found.

in Database: is no zone.


I also try:
/usr/local/psa/bin/dns --reset XXXXXXXXXXXXXXXXX.com -ip 1.2.3.4

this add the zone and the entried of template in the Database but not displayend in plesk. if I restore to default in plesk, in the database are 2 zones of the domain !?
 
Back
Top