KJOURNALPRINT(8)

πŸ’… KJOURNALPRINT(8) β€” the Knot DNS journal print utility, bestie edition πŸ’–

okay so like, hi, welcome to kjournalprint β€” it's the little print utility from Knot DNS (that's the manual we're in, section 8, mwah) ✨


πŸ¦‹ NAME πŸ¦‹

kjournalprint β€” the Knot DNS journal print utility. yeah. that's her. that's the whole name. she prints journals, she's iconic, periodt. πŸ‘‘


🌸 SYNOPSIS 🌸

kjournalprint [config_option] [options] zone_name

kjournalprint [config_option] -z

like, you either give her a zone_name (plus whatever config options and options you want), or you hit her with the -z zone-list mode and she just lists stuff. no cap. 🫢


✨ DESCRIPTION ✨

so basically this program prints the zone history that's stored in a journal database. that's the vibe. πŸ’…

and hmm, important detail: as default, changes are colored for terminal. yes bestie, she comes pre-glammed. 🌈

πŸŽ€ Parameters πŸŽ€

  • zone_name β€” the name of the zone you want the history printed for. that's the one. that's the zone. πŸ’–

🧚 Config options 🧚

  • -c, --config file β€” use a textual configuration file. the default is /etc/knot/knot.conf. πŸ“
  • -C, --confdb directory β€” use a binary configuration database directory. default is /var/lib/knot/confdb. and listen β€” the default configuration database, if it exists, has a preference to the default configuration file. iykyk, priority drama. πŸ‘‘
  • -D, --dir path β€” use the specified journal database path and default configuration. simple. clean. slay. ✨

πŸ’œ Options πŸ’œ

  • -z, --zone-list β€” instead of reading the journal, display the list of zones in the DB. she's just doing roll call, not reading the diary. πŸ’€
  • -l, --limit limit β€” limits the number of displayed changes. keeps things from being too much (as if). πŸ™ˆ
  • -s, --serial soa β€” start at a specific SOA serial. pick your starting point, main character energy. ⭐
  • -M, --merge β€” print the changesets merged into one changeset. and if zone-in-journal is present, the stored contents with all the changesets applied will be printed. one big combined moment. πŸ”₯
  • -H, --check β€” enable additional journal semantic checks during printing. she's double-checking, we love a careful queen. 🧚
  • -d, --debug β€” debug mode brief output. short and nosy. 🌸
  • -x, --mono β€” don't generate colorized output. no color. plain. monochrome baddie. πŸ–€ (ok no black emoji tag but you get it)
  • -X, --color β€” force colorized output. color whether the terminal likes it or not. 🌈
  • -h, --help β€” print the program help. she's telling you about herself, obsessed. πŸ’–
  • -V, --version β€” print the program version. and the option -VV makes the program print the compile time configuration summary. two V's, extra lore. 😭

πŸ¦‹ EXIT VALUES πŸ¦‹

exit status of 0 means successful operation. any other exit status indicates an error. that's it, that's the whole rule. if you get a non-zero, something went wrong bestie, go look. πŸ’…


πŸ“ EXAMPLES πŸ“

last (most recent) 5 changes without colors:

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

see how -x kills the color and -l 5 keeps it to five? teamwork. 🫢


🌈 SEE ALSO 🌈

knotd(8), knot.conf(5). go read those too, they're giving lore. ✨


πŸ’– AUTHOR πŸ’–

CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/> β€” the whole squad. 🫢


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


and that's the page, cutie πŸŽ€ β€” this was version 3.6.2 from 2026-10-21, so if the date looks like it's from the future, no it doesn't, mind your business πŸ’€πŸ’œ mwah!

πŸ“¦ where this page comes from