kjournalprint8
Knot dns journal print utility
Usage
kjournalprint [config_option]
[options]
zone_name
kjournalprint [config_option]
-z
Overview
The program prints zone history stored in a journal database. As default, changes are colored for terminal.
Parameters
zone_name-
A name of the zone to print the history for.
Config options
-
-c, --config file -
Use a textual configuration file (default is
/etc/knot/knot.conf).
-
-C, --confdb directory -
Use a binary configuration database directory (default is
/var/lib/knot/confdb). The default configuration database, if exists, has a preference to the default configuration file.
-
-D, --dir path -
Use specified journal database path and default configuration.
Options
-
-z, --zone-list -
Instead of reading the journal, display the list of zones in the DB.
-
-l, --limit limit -
Limits the number of displayed changes.
-
-s, --serial soa -
Start at a specific SOA serial.
-
-M, --merge -
Print the changesets merged into one changeset. If zone-in-journal is present, the stored contents with all the changesets applied will be printed.
-
-H, --check -
Enable additional journal semantic checks during printing.
-
-d, --debug -
Debug mode brief output.
-
-x, --mono -
Don't generate colorized output.
-
-X, --color -
Force colorized output.
-
-h, --help -
Print the program help.
-
-V, --version -
Print the program version. The option
-VVmakes the program print the compile time configuration summary.
Exit status
Exit status of 0 means successful operation. Any other exit status indicates an error.
Examples
Last (most recent) 5 changes without colors:
$ kjournalprint -xl 5 /var/lib/knot/journal example.com.
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.
--check since Debian 11 (Bullseye);
--color since Debian 12 (Bookworm);
--confdb since Debian 12 (Bookworm);
--config since Debian 12 (Bookworm);
--dir since Debian 12 (Bookworm);
--merge since Debian 13 (Trixie);
--mono since Debian 12 (Bookworm);
--serial since Debian 11 (Bullseye);
-C since Debian 12 (Bookworm);
-D since Debian 12 (Bookworm);
-H since Debian 12 (Bookworm);
-M since Debian 13 (Trixie);
-X since Debian 12 (Bookworm);
-c since Debian 11 (Bullseye);
-s since Debian 11 (Bullseye);
-x since Debian 12 (Bookworm).
--no-color until Debian 12 (Bookworm);
-n until Debian 12 (Bookworm).