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
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