logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kjournalprint - Knot DNS journal print utility

Author

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

Description

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

   Parameterszone_name
              A name of the zone to print the history for.

   Configoptions-c, --configfile
              Use a textual configuration file (default is /usr/local/etc/knot/knot.conf).

       -C, --confdbdirectory
              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.

       -D, --dirpath
              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, --limitlimit
              Limits the number of displayed changes.

       -s, --serialsoa
              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 -VV makes the program print the compile time configuration
              summary.

Examples

       Last (most recent) 5 changes without colors:

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

Exit Values

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

Name

       kjournalprint - Knot DNS journal print utility

See Also

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

Synopsis

kjournalprint [config_option] [options] zone_namekjournalprint [config_option] -z

See Also