.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "GETDNSKEYS 1" .TH GETDNSKEYS 1 2023-07-29 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME getdnskeys \- Manage lists of DNSKEYs from DNS zones .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& getdnskeys [\-i file] [\-o file] [\-k] [\-T] [\-t] [\-v] [zones] .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBgetdnskeys\fR manages lists of DNSKEYs from DNS zones. It may be used to retrieve and compare DNSKEYs. The output from \fBgetdnskeys\fR may be included (directly or indirectly) in a \fBnamed.conf\fR file. .SH OPTIONS .IX Header "OPTIONS" \&\fBgetdnskeys\fR takes the following options: .IP "\fB\-i path\fR" 4 .IX Item "-i path" Reads \fIpath\fR as a \fBnamed.conf\fR with which to compare key lists. .IP \fB\-k\fR 4 .IX Item "-k" Only looks for Key Signing Keys (KSKs); all other keys are ignored. .IP "\fB\-o file\fR" 4 .IX Item "-o file" Writes the results to \fIfile\fR. .IP \fB\-T\fR 4 .IX Item "-T" Checks the current trusted key list from \fBnamed.conf\fR. .IP \fB\-t\fR 4 .IX Item "-t" Encloses output in needed \fBnamed.conf\fR syntax markers. .IP \fB\-v\fR 4 .IX Item "-v" Turns on verbose mode for additional output. .IP \fB\-Version\fR 4 .IX Item "-Version" Displays the version information for \fBgetdnskeys\fR and the DNSSEC-Tools package. .IP \fB\-h\fR 4 .IX Item "-h" Gives a help message. .SH EXAMPLES .IX Header "EXAMPLES" This \fBgetdnskeys\fR will retrieve the KSK for example.com: .PP .Vb 1 \& getdnskeys \-o /etc/named.trustkeys.conf \-k \-v \-t example.com .Ve .PP This \fBgetdnskeys\fR will check saved keys against a live set of keys: .PP .Vb 1 \& getdnskeys \-i /etc/named.trustkeys.conf \-T \-k \-v \-t .Ve .PP This \fBgetdnskeys\fR will automatically update a set of saved keys: .PP .Vb 2 \& getdnskeys \-i /etc/named.trustkeys.conf \-k \-t \-T \-v \& \-o /etc/named.trustkeys.conf .Ve .SH "SECURITY ISSUES" .IX Header "SECURITY ISSUES" Currently this does not validate new keys placed in the file in any way, nor does it validate change over keys which have been added. .PP It also does not handle revocation of keys. .PP It should prompt you before adding a new key so that you can always run the auto-update feature.