• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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