• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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.

DNS zone serial number is 0 after upgrade

H

hectorh

Guest
All the dns zones that existed before the upgrade to 8.6 now have a serial number of 0.

This then is causing the slave DNS servers to reject the zones.

All the new domains added after the upgrade to 8.6 have proper serial numbers.

We have hundreds of domains affected by this, It would take too long to "recreate" each domain at a time.

What is the command to cause Plesk to "update" all the zones at once?

(P.S. I can go into the Plesk DB and update the serial numbers in the DB manually, but that won't update the DNS server)

Thanks,

Hector
 
Just resolved this on one of our servers with a bit of SQL and patience.

USE AT YOUR OWN RISK!

Login to the PSA database. Run this:
Code:
UPDATE `dns_zone` SET `serial_format`='YYYYMMDDNN',`serial`=CONCAT(DATE_FORMAT(NOW(),'%Y%m%d'),'01');

Now login to Plesk, click domains, select all, group operations, turn "OFF" the "DNS zone" option. Save it ("OK"). This may take a while. Click domains again, select all, group operations, turn "ON" the "DNS zone" option. Save it ("OK"). This will take a while, too.
 
Back
Top