• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved How to change DNS zone serial number?

klowet

Basic Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.57 #2
Hi

I should have to upgrade the serial number of a DNS zone manually.
How can I do this in Plesk?

Situation: a migration from another server where the zone has a higher serial number (luckily it has format yyyymmddnn).

Thank you
 
Hi,

Probably, it is not the most technical solution, but I think the most simplest :)
Create and remove some temporary record in the zone, this action will update the serial on Plesk to the current date. Or do you have to use some date from the future?
 
That's indeed an option, but quite intensive for +30 domains.
Or do you have to use some date from the future?
No future dates, but a higher serial number (in the two last digits) at the end.

Is there an (CLI) option to increase the serial number of the zone files? I should manually edit the zone file, but that won't work.
 
All available CLI commands for DNS record management - dns: DNS Zones on Domains. Unfortunately, there is no single command to set specific Serial for the zone. I do not recommend to modify zone files directly. As an option, you can change format to "timestamp" and back to "yyyymmddnn", it will generate new Serial with actual date.

Code:
root@panel:~# cat /var/named/run-root/var/example.com | grep Serial
                        2023112607      ; Serial

root@panel:~# plesk bin dns --update-soa example.com -soa-serial-format timestamp
SUCCESS: Updating SOA record for example.com
root@panel:~# cat /var/named/run-root/var/example.com | grep Serial
                        1701807889      ; Serial

root@panel:~# plesk bin dns --update-soa example.com -soa-serial-format yyyymmddnn
SUCCESS: Updating SOA record for example.com
root@panel:~# cat /var/named/run-root/var/example.com | grep Serial
                        2023120501      ; Serial
 
Back
Top