• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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