Scroll to navigation

KJOURNALPRINT(8) Knot DNS KJOURNALPRINT(8)

NAME

kjournalprint - Knot DNS journal print utility

SYNOPSIS

kjournalprint [config_option] [options] zone_name

kjournalprint [config_option] -z

DESCRIPTION

The program prints zone history stored in a journal database. As default, changes are colored for terminal.

Parameters

A name of the zone to print the history for.

Config options

Use a textual configuration file (default is /usr/local/etc/knot/knot.conf).
Use a binary configuration database directory (default is /usr/local/var/lib/knot/confdb). The default configuration database, if exists, has a preference to the default configuration file.
Use specified journal database path and default configuration.

Options

Instead of reading the journal, display the list of zones in the DB.
Limits the number of displayed changes.
Start at a specific SOA serial.
Print the changesets merged into one changeset. If zone-in-journal is present, the stored contents with all the changesets applied will be printed.
Enable additional journal semantic checks during printing.
Debug mode brief output.
Don't generate colorized output.
Force colorized output.
Print the program help.
Print the program version. The option -VV makes the program print the compile time configuration summary.

EXIT VALUES

Exit status of 0 means successful operation. Any other exit status indicates an error.

EXAMPLES

Last (most recent) 5 changes without colors:

$ kjournalprint -nl 5 /var/lib/knot/journal example.com.


SEE ALSO

knotd(8), knot.conf(5).

AUTHOR

CZ.NIC Labs <https://www.knot-dns.cz>

COPYRIGHT

Copyright 2010–2024, CZ.NIC, z.s.p.o.

2024-10-14 3.4.1