Plesk for Windows
kb: how-to
Question
How to switch DNS server via CLI on Plesk for Windows?
Answer
To switch from BIND to MSDNS:
-
Connect to the server via RDP.
-
Open CMD and run these two commands one by one:
plesk sbin defpackagemng --set --type=dnsserver --default=msdns
plesk sbin defpackagemng --update --fix
To switch from MSDNS to BIND:
-
Connect to the server via RDP.
-
Open CMD and run these two commands one by one
plesk sbin defpackagemng --set --type=dnsserver --default=bind
plesk sbin defpackagemng --update --fix
Note: During those CLI procedures all the DNS records and zones will be left intact.
Note: Plesk UI information at Tools & Settings > Server Components might be cached, so in order to see the DNS server change it is required to re-login to Plesk UI.
Comments
0 comments
Please sign in to leave a comment.