eon icon indicating copy to clipboard operation
eon copied to clipboard

adding a record to the zonefile and restarting the server doesn't propigate the update

Open RyanGibb opened this issue 1 year ago • 2 comments

RyanGibb avatar Nov 11 '24 12:11 RyanGibb

Is this a good first issue for user 2 of eon ?

patricoferris avatar Apr 19 '25 15:04 patricoferris

So the issue is in the primary we aren't re-sending the zonefile as updates on restoring secondary capabilities. I've just pushed a quick fix that re-sends the zonefiles as updates when restoring a secondary capability (which the primary does after restarting) https://github.com/RyanGibb/eon/commit/8ff9899d71e8019f1d25ab66b32390c6e6c55a92. This won't work for removing records, though, so I think some functionality to clear the zone before sending would be appropriate. Also this will send the zonefile even if nothing has changed -- we could support serial numbers (or just do a hash of the zonefile -- I don't think we really need serial numbers) and only send the updated zone if it's changed.

RyanGibb avatar Apr 21 '25 11:04 RyanGibb