1GETDNSKEYS(1) User Contributed Perl Documentation GETDNSKEYS(1)
2
3
4
6 getdnskeys - Manage lists of DNSKEYs from DNS zones
7
9 getdnskeys [-i file] [-o file] [-k] [-T] [-t] [-v] [zones]
10
12 getdnskeys manages lists of DNSKEYs from DNS zones. It may be used to
13 retrieve and compare DNSKEYs. The output from getdnskeys may be
14 included (directly or indirectly) in a named.conf file.
15
17 getdnskeys takes the following options:
18
19 -i path
20 Reads path as a named.conf with which to compare key lists.
21
22 -k Only looks for Key Signing Keys (KSKs); all other keys are ignored.
23
24 -o file
25 Writes the results to file.
26
27 -T Checks the current trusted key list from named.conf.
28
29 -t Encloses output in needed named.conf syntax markers.
30
31 -v Turns on verbose mode for additional output.
32
33 -Version
34 Displays the version information for getdnskeys and the DNSSEC-
35 Tools package.
36
37 -h Gives a help message.
38
40 This getdnskeys will retrieve the KSK for example.com:
41
42 getdnskeys -o /etc/named.trustkeys.conf -k -v -t example.com
43
44 This getdnskeys will check saved keys against a live set of keys:
45
46 getdnskeys -i /etc/named.trustkeys.conf -T -k -v -t
47
48 This getdnskeys will automatically update a set of saved keys:
49
50 getdnskeys -i /etc/named.trustkeys.conf -k -t -T -v
51 -o /etc/named.trustkeys.conf
52
54 Currently this does not validate new keys placed in the file in any
55 way, nor does it validate change over keys which have been added.
56
57 It also does not handle revocation of keys.
58
59 It should prompt you before adding a new key so that you can always run
60 the auto-update feature.
61
62
63
64perl v5.28.1 2018-08-29 GETDNSKEYS(1)