1 .\" $NetBSD: zkt-ls.8,v 1.1.1.1 2015/07/08 15:37:49 christos Exp $
3 .TH zkt-ls 8 "February 25, 2010" "ZKT 1.0" ""
4 \" turn off hyphenation
8 zkt\-ls \(em list dnskeys
23 .RI [{ keyfile | dir }
35 .RI [{ keyfile | dir }
39 .B \-\-list-trustedkeys
47 .RI [{ keyfile | dir }
59 .RI [{ keyfile | dir }
63 .B \-\-list-managedkeys
71 .RI [{ keyfile | dir }
83 .RI [{ keyfile | dir }
95 .RI [{ keyfile | dir }
101 command list all dnssec zone keys found in the given or predefined
103 It is also possible to specify keyfiles (K*.key) as arguments.
106 subdirectories will be searched recursively and all dnssec keys found
107 are listed, sorted by domain name, key type and generation time.
108 In that mode the use of option
110 may be helpful to find the location of the keyfile in the directory tree.
112 Other forms of the command, print out keys in a format suitable for
113 a trusted- or managed-key section
121 .BI \-V " view" ", \-\-view=" view
122 Try to read the default configuration out of a file named
123 .I dnssec-<view>.conf .
124 Instead of specifying the \-V or --view option every time,
125 it is also possible to create a hard or softlink to the
126 executable file to give it an additional name like
129 .BI \-c " file" ", \-\-config=" file
130 Read default values from the specified config file.
131 Otherwise the default config file is read or build in defaults
134 .BI \-O " optstr" ", \-\-config-option=" optstr
135 Set any config file option via the commandline.
136 Several config file options could be specified at the argument string
137 but have to be delimited by semicolon (or newline).
139 .BI \-l " list" ", \-\-label=" list
140 Print out information solely about domains given in the comma or space separated
142 Take care of, that every domain name has a trailing dot.
144 .BR \-d ", " \-\-directory
145 Skip directory arguments.
146 This will be useful in combination with wildcard arguments
147 to prevent dnsssec-zkt to list all keys found in subdirectories.
148 For example "zkt-ls -d *" will print out a list of all keys only found in
149 the current directory.
150 Maybe it is easier to use "zkt-ls ." instead (without -r set).
151 The option works similar to the \-d option of
154 .BR \-L ", " \-\-left-justify
155 Print out the domain name left justified.
158 Select and print key signing keys only (default depends on command mode).
161 Select and print zone signing keys only (default depends on command mode).
163 .BR \-r ", " \-\-recursive
164 Recursive mode (default is off).
166 Also settable in the dnssec.conf file (Parameter: Recursive).
168 .BR \-p ", " \-\-path
169 Print pathname in listing mode.
170 In -C mode, don't create the new key in the same directory as (already existing)
171 keys with the same label.
174 Print age of key in weeks, days, hours, minutes and seconds (default is off).
176 Also settable in the dnssec.conf file (Parameter: PrintAge).
178 .BR \-f ", " \-\-lifetime
179 Print the key lifetime.
181 .BR \-e ", " \-\-exptime
182 Print the key expiration time.
184 .BR \-t ", " \-\-time
185 Print the key generation time (default is on).
187 Also settable in the dnssec.conf file (Parameter: PrintTime).
190 No header or trusted-key resp. managed-key section header and trailer in \-T or \-M mode.
194 .BR \-H ", " \-\-help
195 Print out the online help.
197 .BR \-T ", " \-\-list-trustedkeys
198 List all key signing keys as a
203 to supress the section header/trailer.
205 .BR \-K ", " \-\-list-dnskeys
206 List the public part of all the keys in DNSKEY resource record format.
209 to suppress comment lines.
216 Print out a list of all zone keys found below the current directory.
219 .B "zkt\-ls \-Z \-c """"
221 Print out the compiled in default parameters.
224 .B "zkt\-ls \-T ./zonedir/example.net
226 Print out a trusted-key section containing the key signing keys of "example.net".
229 .B "zkt\-ls --view intern
231 Print out a list of all zone keys found below the directory where all
232 the zones of view intern live.
233 There should be a seperate dnssec config file
234 .I dnssec-intern.conf
235 with a directory option to take affect of this.
243 has another link, named
247 examines argv[0] to find a view whose zones it proceeds to process.
249 .SH ENVIRONMENT VARIABLES
252 Specifies the name of the default global configuration files.
256 .I /var/named/dnssec.conf
257 Built-in default global configuration file.
258 The name of the default global config file is settable via
259 the environment variable ZKT_CONFFILE.
261 .I /var/named/dnssec-<view>.conf
262 View specific global configuration file.
265 Local configuration file (only used in
271 Some of the general options will not be meaningful in all of the command modes.
275 and the ksk rollover options
276 insist on domain names ending with a dot.
282 Copyright (c) 2005 \- 2010 by Holger Zuleger.
283 Licensed under the BSD Licences. There is NO warranty; not even for MERCHANTABILITY or
284 FITNESS FOR A PARTICULAR PURPOSE.
285 .\"--------------------------------------------------
287 dnssec-keygen(8), dnssec-signzone(8), rndc(8), named.conf(5), zkt-conf(8), zkt-keyman(8), zkt-signer(8)
290 "DNSSEC Operational Practices" by Miek Gieben and Olaf Kolkman,
292 DNSSEC HOWTO Tutorial by Olaf Kolkman, RIPE NCC
294 (http://www.nlnetlabs.nl/dnssec_howto/)