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

How can i change BIND DNS zone serial?

D

designer

Guest
All serials seems automatically configured by PLESK and there is no possibility to change serial using http control panel. Yes, i can change zone files itself, but i'm not sure what would happen on next DNS update from control panel - Would it take "serial" from zone file or overwrite serial with new generated one? Anybody knows for sure?

Thanks!
 
This is what support told me when I asked them a similair question.

"It is possible to set serial value for dns zone to zero (4294967296) and wait until other dns-servers refresh their information and only after it update your dns-server with new serial, as decribed here in chapter 7:
http://www.faqs.org/rfcs/rfc1982.html
Please read that documentation before implementing what I suggest.

I suggest doing follow steps:

1. Deny all changes for your dns zones (you can make it by canceling permission "DNS zone management" to all of your clients for 2 days) .

2. Set serial for all zones to 4294967296 (232) both master and slave servers. You could create a script or do it manually.

3. restart named.

4. Wait until all the dns-servers in the world take this serial. It depends on
your $TTL of zones ( by default it is 86400 = 1 day )

5. Rebuild all the zones to set standard serial back:
# export domains=`mysql -Ns -uadmin -pPASSWORD -Dpsa -e"select name from domains"`
# for i in $domains ; do /usr/local/psa/admin/sbin/dnsmng update $i ; done"

Hope this helps.
 
Originally posted by designer
All serials seems automatically configured by PLESK and there is no possibility to change serial using http control panel. Yes, i can change zone files itself, but i'm not sure what would happen on next DNS update from control panel - Would it take "serial" from zone file or overwrite serial with new generated one? Anybody knows for sure?

Thanks!
Plesk keeps a running serial which it will use upon the next DNS change. It is in the 'psa' database, 'misc' table, 'stat_timestamp' param

If you manually change the serial in the /var/named/run-root/var/ zone files, then the next time any domain changes are done in Plesk GUI, it will then look to the value in the database and update the serial in the zone file. So you could always change the database value immediately before or after making your manual changes to the zone files.

I know for sure that Plesk will not take any existing values from a zone file, it gets all of it's info from their database in different tables, then uses that info to totally rewrite zone files.
 
Back
Top