Sanity Check

2023-02-17 Thread Bob McDonald
I'm implementing a caching resolver under FreeBSD 13.1 running on a RaspberryPI. Bind 9.18.11 My named.conf is below. My question is do these look like workable options? I include logging and a statistics channel in my preliminary implementations for more detail on what's going on. That will go aw

Re: Sanity Check

2023-02-17 Thread Ed Daniel via bind-users
On 17/02/2023 16:06, Bob McDonald wrote: I'm implementing a caching resolver under FreeBSD 13.1 running on a RaspberryPI. Bind 9.18.11 My named.conf is below. My question is do these look like workable options? I include logging and a statistics channel in my preliminary implementations for m

Simplistic serial number roll back

2023-02-17 Thread John Thurston
Assumptions: A primary and several secondaries, with the secondaries using XFR to stay up to date. Scenario: Make a change in the serial number algorithm which will result in newer zone-data being published on an "earlier" serial number. The 'correct' method  is to increase the serial number

Re: Simplistic serial number roll back

2023-02-17 Thread Ondřej Surý
Why so complicated? Stop the secondary, purge the zone files and journal, and start the secondary. The zones will get retransfered as there’s no state now.--Ondřej Surý — ISC (He/Him)My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal

Re: Simplistic serial number roll back

2023-02-17 Thread John Thurston
That was my first thought, but stopping the secondary would affect all of the published zones. If retransfer ignores serial number, then using "rndc retransfer" would affect only the specifically-named zone in the specifically-named view. Resolution of the other zones, in all of the other view

Re: Simplistic serial number roll back

2023-02-17 Thread Ondřej Surý
Well, the serial number arithmetics is there for a reason - you usually don’t want to rollback to previous version of the zone - you can have multiple primaries with different serial numbers.I don’t really consider the two step rollover of the serial number that complicated, so something extra need

Re: Simplistic serial number roll back

2023-02-17 Thread John Thurston
Agreed. I'm not considering rolling back to old zone data, but considering changing the algorithm used to generate the serial number for new zone data. The new algorithm would result in the new data being published with serial numbers which would be ignored as being "older" if they were gener