• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Restore DNS zone via command line?

HostaHost

Silver 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