Serial number question..

Ondřej Surý ondrej at isc.org
Thu Dec 17 19:13:46 UTC 2020


Bruce,

you should start by picking a policy for your serial number. Both unixtime and datetime are viable, but you should pick one.

Then rotate to your desired policy by doing the serial number arithmetic. For datetime, you would just bump it, but for unixtime you will need to do that in more steps (as you have found on the Internet).

Ondrej
--
Ondřej Surý — ISC (He/Him)

> On 17. 12. 2020, at 19:56, Bruce Johnson <johnson at pharmacy.arizona.edu> wrote:
> 
> Someone updated out name server and messed up the serial number on the primary; as a result our secondaries are not updating properly.
> 
> Primary:
> 
> bruces-Mac-Mini:~ johnson$ dig @elixir.pharmacy.arizona.edu -t SOA +noall +answer pharmacy.arizona.edu
> pharmacy.arizona.edu.    86404    IN    SOA    elixir.pharmacy.arizona.edu. wunz.elixir.pharmacy.arizona.edu. 1297117089 3600 120 1209600 86400
> 
> 
> Secondaries:
> 
> bruces-Mac-Mini:~ johnson$ dig @dhbns1.pharmacy.arizona.edu -t SOA +noall +answer pharmacy.arizona.edu
> pharmacy.arizona.edu.    86404    IN    SOA    elixir.pharmacy.arizona.edu. wunz.elixir.pharmacy.arizona.edu. 1762233707 3600 120 1209600 86400
> bruces-Mac-Mini:~ johnson$ dig @ns-remote.arizona.edu -t SOA +noall +answer pharmacy.arizona.edu
> pharmacy.arizona.edu.    86404    IN    SOA    elixir.pharmacy.arizona.edu. wunz.elixir.pharmacy.arizona.edu. 1762233707 3600 120 1209600 86400
> 
> Is the fix here just setting the serial number on the primary to 1762233708 ?
> 
> The various things online I’ve found are all based on “you accidentally set the primary more than 2^32 ahead” so you have to do a bunch of modulo arithmetic...
> 
> 
> -- 
> Bruce Johnson
> University of Arizona
> College of Pharmacy
> Information Technology Group
> 
> Institutions do not have opinions, merely customs
> 
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users



More information about the bind-users mailing list