Closed ross closed 1 year ago
Ran it through the paces, took a couple of my zone files and put them through it, loaded them into bind no problem. Serial incremented/changed as expected
Only thing that I hit, which I believe might be because it's written every time is that the Apex NS records cause it to throw the octodns.provider.plan.RootNsChange: Root NS record change, force required
error every time
Only thing that I hit, which I believe might be because it's written every time is that the Apex NS records cause it to throw the octodns.provider.plan.RootNsChange: Root NS record change, force required error every time
Yeah. It's a bit annoying. Maybe we could look at ignoring the RootNSChange exception when creating a zone from scratch. Outside the scope of this PR, but will stick a TODO on the list for octoDNS core about it.
Only thing that I hit, which I believe might be because it's written every time is that the Apex NS records cause it to throw the octodns.provider.plan.RootNsChange: Root NS record change, force required error every time
Yeah. It's a bit annoying. Maybe we could look at ignoring the RootNSChange exception when creating a zone from scratch. Outside the scope of this PR, but will stick a TODO on the list for octoDNS core about it.
Doh. Looks like that's already the case https://github.com/octodns/octodns/blob/ccb4f97a2f857060e654587b35c7d496c4a40cf6/octodns/provider/plan.py#L117-L124.
The problem is with this provider in that it doesn't correctly indicate whether the zone exists or not during populate. Will look into that.
The problem is with this provider in that it doesn't correctly indicate whether the zone exists or not during populate. Will look into that.
This has been addressed. ZoneFileProvider
looks for the existence of the zone file. AxfrPopulate
assumes the zone exists since it can't create it anyway.
Looks to me! Great new functionality I'll definitely be using for home
Thank you very much, @ross!!!
Support for writing zone files out to disk, full read/write provider. Similar to YamlProvider all records are written out each time, i.e. when in
target
mode the provider assumes the are no existing records./cc Fixes https://github.com/octodns/octodns-bind/issues/40 @kabenin /cc @yzguy for :eyes: