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

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