New BIND serial incorrect

When creating a new BIND DNS domain, the SOA serial is not set to a date format which can cause issues when switching SOA servers if you've not manually changed the serial to be a reasonable number.

For instance, I would expect a serial created today to have the value: 2016081001, however this is not the case with Virtualmin which appears to create a random(?) serial.



Howdy -- yeah it does use a different format by default. That format normally works fine, but if you're experiencing an issue migrating from an existing DNS server, you can configure it to use a different format.

To do that, go into Webmin -> Servers -> BIND, click the gear icon at the top, then go down to "Zone file options". There, you can set your preferred serial number style.