NAMED-JOURNALPRINT(8)
π NAME π
ok so named-journalprint β literally the tool that prints out your zone journal in human-readable form. that's the whole vibe β¨
π SYNOPSIS π
named-journalprint [-c serial] [-dux] {journal}
that's it, that's the whole thing bestie π«Ά
πΈ DESCRIPTION πΈ
okay so picture this: named-journalprint scans the contents of a zone journal file and prints it out in human-readable form β or, if you're feeling spicy, it optionally converts it to a different journal file format. versatility icon π
so what even is a journal file? they get created automatically by named whenever changes are made to dynamic zones (like, say, by nsupdate). they record every single addition or deletion of a resource record β in binary format, no less π β which is what lets the changes get re-applied to the zone when the server restarts after a shutdown or a crash. really giving "main character energy" in the reliability department. and by default, the name of the journal file is made by just appending the extension .jnl to the name of the corresponding zone file. cute, simple, done π
so named-journalprint takes a given journal file and converts its contents into human-readable text format. every line starts with add or del β telling you whether the record was added or deleted β and then continues with the resource record in master-file format. readable at a glance, fr fr π
now, the -c (compact) option gives you a way to shrink a journal by removing (most/all) transactions prior to the serial number you specify. β οΈ but like, huge disclaimer: this option must not be used while named is running, and it can cause data loss if the zone file hasn't been updated to contain the data being removed from the journal. use with extreme caution. like, no cap, extreme. π
the -x option makes it print additional data about the journal file β at the beginning of the output and before each group of changes. extra context, we love to see it π¦
then there's -u (upgrade) and -d (downgrade), which recreate the journal file with a modified format version. heads up: the existing journal file gets replaced. π₯ -d writes out the journal in the format used by versions of BIND up to 9.16.11; -u writes it out in the format used by versions since 9.16.13. and yes, 9.16.12 is omitted β due to a journal-formatting bug in that release π (rip to that one version, honestly). note that these options must not be used while named is running either. periodt.
seriously bestie:-c,-u, and-dare all "don't run this whilenamedis up" territory. treat that like a rule of the universe πΈ
π SEE ALSO π
named(8)nsupdate(1)- BIND 9 Administrator Reference Manual
go read them, iykw1 ππ
β¨ AUTHOR β¨
Internet Systems Consortium β the icons behind all this π
π COPYRIGHT π
2024, Internet Systems Consortium. all rights reserved, slay π
and that's the whole page! this one's from the BIND 9 manual, version 9.16.50-RH, dated just as it dropped β go off, named-journalprint, you ate and left no crumbs ππ
π¦ where this page comes from
- centos-stream 9: bind 32:9.16.50-13.el9 Β· MPLv2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms