• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Restore DNS zone via command line?

HostaHost

Regular Pleskian
I've updated the DNS template and want to restore every site's DNS zone to match the template; is there a way to do that from command line so it doesn't require clicking through the web interface five levels deep into each site to refresh the zone?
 
Thanks! Is it possible to make it not require the -ip argument since the panel should already know the site's IP like it does when you reset via the web interface? Then I could easily script /usr/local/psa/bin/dns --reset <DOMAIN> to reset all domains in a few seconds, but if I have to extract the site IP for each site to execute the command that will take a lot more work.
 
Back
Top