• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

serial/SOA

M

MOUCHONS

Guest
Hello,

I want to change my SOA serial in date instead of timestamp.

I change the value in the base but the change is not apply in the secondary DNS.

I need to request a real change (for example a new A record) to see the change done.

So I have already test this plesk scripts :

#!/bin/sh

ADMIN_PASS=`cat /etc/psa/.psa.shadow`
MYSQL_BIN_D=`grep MYSQL_BIN_D /etc/psa/psa.conf | awk '{print $2}'`
PRODUCT_ROOT_D=`grep PRODUCT_ROOT_D /etc/psa/psa.conf | awk '{print $2}'`
mysql="${MYSQL_BIN_D}/mysql -N -uadmin -p${ADMIN_PASS} psa"

query="select name from domains;"
domains=`echo $query | $mysql `

for i in ${domains}; do
echo "echo $i"
$PRODUCT_ROOT_D/admin/sbin/dnsmng update $i
done



It seems that it doesnot work for this kind of change.

Can you advise me to have a solution to force the apply on the secondary dns without manual intervention on the plesk console management ?

Regards
 
Hello,

Exact, I have make this command :

update dns_zone set serial_format='YYYYMMDDNN' where serial_format='UNIXTIMESTAMP';

But to apply the change on the secondary, plesk need some real change on the DNS control plesk interface.

So I have execute this request

insert into dns_recs (dns_zone_id, type, displayHost, host, displayVal, val, opt, time_stamp) select dns_zone_id,'TXT',CONCAT(name,'.'),CONCAT(name,'.'),'flag','flag','',now() from domains

to insert a record in all the domains on the server.

So no change, it seems that request the change from the interface done some supplementary operations.

Can you help me ?

Regards
 
Back
Top