---
name: "kjournalprint"
section: "8"
platform: "linux"
package: "knot"
version: "3.6.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/kjournalprint/8"
---

# kjournalprint(8)

Knot DNS journal print utility

## 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

- ***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 **-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 -xl 5 /var/lib/knot/journal example.com.
```

## SEE ALSO

**[knotd(8)](/knotd/8.md)**, **[knot.conf(5)](/knot.conf/5.md)**.

## Author

CZ.NIC, z.s.p.o. and contributors \<https://www.knot-dns.cz/\>

## Copyright

Copyright (C) CZ.NIC, z.s.p.o. and contributors
