Improve zone flushing and on disk zone format
I think we should do two things:
-
auto-flush the zone as soon it has been signed
-
change the zone write ordering so the DNSSEC signatures are listed after the zone contents possibly with some comment separator like this:
;; Zone dump (Knot DNS x.y.z)
[...zone contents...]
;; DNSSEC keys are added automatically from <dnssec-keydir>
[...zone keys...]
;; DNSSEC signatures are auto-generated
[...zone signatures...]
;; Written <nn> records
;; Time <current_date>