• 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!
  • 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.

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