• 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

Disable DNS-Service for all domains

SuiCo

New Pleskian
Hi forum

I need to disable DNS-Service for all domains, as I can see in plesk 11 its not possible over domains -> (check all) -> modify (bulk operation).
With CLI-Command dns.exe is not allowed to use an '*' instead of domainname.

Any idea how to simple do this?

We need to do this on more than 15 server, so it would be nice to find a thin solution..

Best regards
SuiCo
 
Sorry, I'm not familiar with Windows scripting but you may try to adapt following Linux solution for Windows Plesk version:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/dns $i --off; done
 
Back
Top