LSROLL(1)
π LSROLL(1) π
okay bestie, pull up a chair π«Ά this is lsroll, straight out of the User Contributed Perl Documentation section of the manual, and she's about to tell you everything about the rollrecs in a DNSSEC-Tools rollrec file. literally every detail, no skips, no cap.
β¨ NAME β¨
lsroll β list the rollrecs in a DNSSEC-Tools rollrec file. that's the whole job and she does it gorgeously π
πΈ SYNOPSIS πΈ
lsroll [options] <rollrec-files>
π¦ DESCRIPTION π¦
this script lists the contents of the rollrec files you point it at. all the rollrec files get loaded before any output shows up, so it's a whole vibe-check-then-print situation.
and here's the tea π: if any rollrecs have duplicated names β whether that's inside one single file or spread across multiple files β the later rollrec is the one whose data get displayed. later one wins, periodt.
π OUTPUT FORMATS π
what you see for each zone in a rollrec file depends on three things: which records you selected, which attributes you selected, and which output format you picked. every option in those groups gets its own deep-dive in the next section, but the three base output formats β plus the default -skip format β get described right here. π
-tersemeans you want a minimal amount of output. tiny. cute. efficient.-longmeans you want a great deal of output. all of it. every crumb. π°
and the record-selection and attribute-selection options can be mixed in with -terse to display exactly the set of rollrec fields you actually need. chef's kiss.
the default output format is what you get when neither -terse nor -long is given, and it's a happy middle ground between the two. main character energy, honestly.
if the -skip option is given, then the default output format is a little more restricted than the normal default. some rollrec fields just don't make sense in the context of a skip record, so they get shown as "---". those fields are:
- the KSK rollover phase
- the ZSK rollover phase
- the TTL value
- the phase start
π the field-by-format breakdown π
here's which fields show up in which format. yes i'm giving you all seventeen, don't scroll past her π
- rollrec name β default yes, terse yes, long yes, skip yes
- rollrec type β default no, terse no, long yes, skip no
- zonename β default no, terse no, long yes, skip yes
- zone file β default yes, terse no, long yes, skip yes
- zonegroup β default no, terse no, long yes, skip no
- keyrec file β default yes, terse no, long yes, skip yes
- KSK phase β default yes, terse no, long yes, skip no
- ZSK phase β default yes, terse no, long yes, skip no
- administrator β default no, terse no, long yes, skip no
- directory β default no, terse no, long yes, skip no
- logging level β default no, terse no, long yes, skip no
- TTL value β default no, terse no, long yes, skip no
- display flag β default no, terse no, long yes, skip no
- phase start β default no, terse no, long yes, skip no
- last KSK rollover β default no, terse no, long yes, skip no
- last ZSK rollover β default no, terse no, long yes, skip no
- zonesigner arguments β default no, terse no, long yes, skip no
π a note on the rollrec name π
the rollrec name field is often the same as its zonename, but bestie, that is not necessarily the case. the rollrec name can contain spaces while the zonename can't β so for that exact reason, lsroll displays the rollrec name in quotes, even when the name has zero spaces in it. it's not being extra, it's doing it so other programs can parse the output more easily. considerate queen. π
π§ the -info option π§
if the -info option is given, then the special info rollrec record gets displayed. if the rollrec file has this informational record β notated by having the name info rollrec β then the contents of the <info rollrec> record get printed.
and if multiple rollrec files are given on the command line? then the info rollrec records for each file get prefixed with that rollrec file's name. organized. πΈ
π OPTIONS π
there are three types of options lsroll recognizes: record-selection options, attribute-selection options, and output-format options. each type gets its own subsection below, because we're thorough in this house. β¨
π Record-selection Options π
these options pick which records lsroll will display. by default, all records get displayed; selecting one of these options restricts the records shown.
and to keep the lsroll code simple and easily understandable, these options are mutually exclusive. pick one, bestie, not all of them. π
-rollβ list all"roll"records in the rollrec file.-skipβ list all"skip"records in the rollrec file.-infoβ list all the fields in the rollrec file's"info"record.
π§ Attribute-selection Options π§
these options pick which attributes of the records get displayed by lsroll.
-typeβ include each rollrec record's type in the output. the type will be either"roll"or"skip".-zonenameβ the record's zonename gets included in the output. the zonename is distinct from the record's rollrec name, which is always included in the output. these two fields are often the same, but they don't have to be. in split-zone zones, the rollrec names must be different, while the zonename field stays the same.-zonefileβ the record's zonefile gets included in the output. this field is part of the default output.-zgβ the record's zonegroup gets included in the output, wrapped in double quotes. if a rollrec entry doesn't contain a zonegroup, then the value""is given. and if a record's zonegroup has leading or trailing whitespace, that whitespace gets deleted from the output. tidy. π§Ό-keyrecβ the record's keyrec file gets included in the output. this field is part of the default output.-kskphaseβ the record's KSK rollover phase gets included in the output. if this option is given together with-zskphase, then the output follows the format described for the-phasesoption. this field is part of the default output.-zskphaseβ the record's ZSK rollover phase gets included in the output. if this option is given together with-kskphase, then the output follows the format described for the-phasesoption. this field is part of the default output.-phasesβ the record's KSK and ZSK rollover phases both get included in the output. the listing goes KSK phase first, then ZSK phase. here's what that looks like:
KSK phase ZSK phase output
0 0 0/0
3 0 3/0
0 5 0/5
-adminβ the record's administrator value gets included in the output. if a rollrec doesn't include an administrator value, then the value(defadmin)is given.-directoryβ the name of the directory holding the zone's files gets included in the output. if a rollrec doesn't include a zone directory, then the value(defdir)is given.-loglevelβ therollerdlogging level for this zone. this value may be given in the rollrec file in either textual or numeric form. the textual form of the logging level gets displayed, never the numeric one. if a rollrec doesn't include a logging level value, then the value(deflog)is given. and if a rollrec includes an undefined logging level value, then the value(unknownlog)is given. π-ttlβ the record's TTL value gets included in the output.-displayβ the record's display flag β the one used byblinkenlightsβ gets included in the output.-phstartβ the record's rollover phase gets included in the output. if no rollover has been performed for this zone yet, an empty date is given.-lastkskβ the record's last KSK rollover date gets included in the output. if no KSK rollover has been performed for this zone yet, an empty date is given.-lastzskβ the record's last ZSK rollover date gets included in the output. if no ZSK rollover has been performed for this zone yet, an empty date is given.-zsargsβ the record's user-definedzonesignerarguments get included in the output. if no arguments have been set for this zone, then the value(none)is given.-zonegroupβ the zonegroups defined in the rollrec get listed, wrapped in double quotes. all other rollrec fields are ignored. and if the-longoption is specified, then each zonegroup name is accompanied by the number of rollrec entries in that zonegroup. multi-tasking icon. π
π Output-format Options π
these options pick the type of output lsroll gives you.
-countβ only a count of matching keyrecs in the rollrec file is given.-headersβ display explanatory column headers.-terseβ terse output is given. only the record name and any other fields you specifically selected get included in the output.-longβ long output is given. all record fields get included.-helpβ display a usage message.-Versionβ displays the version information forlsrolland the DNSSEC-Tools package.
π COPYRIGHT π
Copyright 2005-2014 SPARTA, Inc. All rights reserved. see the COPYING file included with the DNSSEC-Tools package for the details.
π AUTHOR π
Wayne Morrison, tewok@tislabs.com
π« SEE ALSO π«
blinkenlights(8),rollchk(8),rollinit(8),rollerd(8)Net::DNS::SEC::Tools::rollrec.pm(3)file-rollrec(5)
and that's the whole page, bestie π«Ά go forth and list those rollrecs. this was lsroll(1), shipped with perl v5.42.0 and dated 2025-07-23 β slay, stay hydrated, and always read the man page πβ¨π
π¦ where this page comes from
- fedora 43: dnssec-tools 2.2.3-30.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms