• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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