• 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

Updating IP NS server

ErwanG

Regular Pleskian
Hello,

We have change IP from NS server in Plesk.
Why can we force refresh named.conf (for all domains) ? Informations stay with old IP.
We can force one domain when we change an information in the DNS and we validate. But Hown can we change all domains?

Example:
Old
> NS server1.com (x.x.x.1)
New
> NS server1.com (x.x.x.2)

....
zone "domain.com" {
type master;
file "domain.com";
allow-transfer {
...;
x.x.x.1;
common-allow-transfer;
};
};
...

Thank you for yours ideas.
 
Thank you.
I've used for tests "DNS Zones on Domains: dns Utility"

Example: ./dns --update-soa domain.com -soa-serial-format yyyymmddnn
But how i can execute for all domains ? I don"t find the command....

Don't work:
./dns --update-soa * -soa-serial-format yyyymmddnn
 
Ok. I've created a script like that:

#!/bin/sh

/usr/local/psa/bin/domain -l > domains.txt
for dom in $(cat domains.txt);
do
/usr/local/psa/bin/dns --update-soa $dom -soa-serial-format yyyymmddnn
done
 
Back
Top