• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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