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

Change DNS !

J

JoaoCorreia

Guest
Hello,

I want to change the DNS servers on all domains from ns1.domain.com to
ns1.otherdomain.com , is there any automated way to do this ?

Thanks
Joao Correia
 
there is a set of command line utilities to manage Plesk in /usr/local/psa/bin. 'dns' is a particular one which you need:

# deletes old record for domain domain.tld
/usr/local/psa/bin/dns -d domain.tld -ns '' -nameserver ns1.domain.com
# adds new one
/usr/local/psa/bin/dns -a domain.tld -ns '' -nameserver ns1.otherdomain.com

just run both through cycle with domain names you want to update.
 
Hi,

As far as I can remember, this can be done by changing the dns records from plesk database, vhanging the dns template, then disable and enable the dns zones with group operations too.
 
Back
Top