• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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