Hello Daniel, I just want to dump the zone to a file, technically a `knotc zone-dump zone_name a.out` [1], which does not exist yet. The command `knotc zone-read zone_name` is almost the output as desired except for the formatting.
Regards [1] https://github.com/CZ-NIC/knot/blob/master/src/knot/zone/zone-dump.c > [email protected] hat am 1. Juli 2018 um 14:28 geschrieben: > > > Hello, > > It's not clear what is your configuration and what is your goal. > > If the zone file synchronization is not disabled or delayed > (https://www.knot-dns.cz/docs/2.6/singlehtml/index.html#zonefile-sync), > the zone file is immediately updated upon any zone change (dynamic > update, > zone transfer, DNSSEC signing). So it's up-to-date. > > If the zone file synchronization is disabled, still you can dump the > zone > manually via `knotc zone-flush zone_name` or `knotc zone-flush zone_name > +outdir=alternative_directory`. > > Further reading about zone file manipulation: > https://www.knot-dns.cz/docs/2.6/singlehtml/index.html#safe-reading-and-editing-zone-file > > Regards, > Daniel > > On 2018-06-30 22:33, [email protected] wrote: > > Hello > > > > How can I dump a zone stored in Knot DNS to a file? > > > > DNSSEC signed zones are overwritten, apparently using a zone dump > > functionality; noticable by the comment ";; Zone dump (Knot DNS > > 2.6.3)". > > > > Regards -- https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
