aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dnssec-conf/dnssec-conf/dnskey-pull.1
blob: 554c686874fa2456c52383bdcdcb7cdf9f7f3516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
'\" t
.\"     Title: DNSKEY-PULL
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: 7 November 2008
.\"    Manual: User\*(Aqs Manual
.\"    Source: User's Manual
.\"  Language: English
.\"
.TH "DNSKEY\-PULL" "1" "7 November 2008" "User's Manual" "User\*(Aqs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
dnskey-pull \- fetch DNSKEY records from a zone, from all sub\-zones or from a webpage
.SH "SYNOPSIS"
.HP \w'\fBdnskey\-pull\fR\ 'u
\fBdnskey\-pull\fR [\-a] [\-t] [\-o\ \fI<output>\fR] [\-s\ \fI<ns>\fR] \fIzone\fR \fI[\&.\&.]\fR
.HP \w'\fBdnskey\-pull\fR\ 'u
\fBdnskey\-pull\fR [\-o\ \fI<output>\fR] \fIurl\fR \fI[\&.\&.]\fR
.SH "DESCRIPTION"
.PP
\fBdnskey\-pull\fR
obtains Key\-Signing\-Key (KSK) DNSKEY records for use as
\fItrust\-anchor\fR
with recursing nameserver that are setup to use
\fBDNSSEC\&.\fR
.PP
dnskey\-pull itself performs no DNSSEC validation\&. dnskey\-pull pulls KSK DNSKEY records for a single zone but can also be told, if it has
\fIzone\-transfer\fR
(AXFR) permission, to lookup KSK DNSKEY records for all NS records found in a zone\&. This latter feature can be used to find new DNSKEY\*(Aqs in TLD\*(Aqs\&.
.PP
The output of this command can be directly included in the configuration files for the
\fBBind\fR
and
\fBUnbound\fR
recursing nameservers as DNSSEC trust anchor\&.
.PP
dnskey\-pull ignores the system\*(Aqs
/etc/resolv\&.conf
setting for domain appending, and treats all zone arguments as FQDN\&. It does use the system\*(Aqs resolver settings for recursive lookups\&.
.SH "OPTIONS"
.PP
\fB\-a\fR
.RS 4
Use a zone\-transfer (AXFR) to find all NS records in a zone and return any DNSKEY records found for these NS records in
\fItrusted\-key\fR
format\&. Note that AXFR is often blocked on nameservers\&.
.RE
.PP
\fB\-s\ \&<\fR\fInameserver>\fR
.RS 4
Use the specified nameserver to perform the zone\-transfer (AXFR)\&.
.RE
.PP
\fB\-t\fR
.RS 4
Return the resulting DNSKEY\*(Aqs within a
\fItrusted\-key { };\fR
statement, compatible for including with a
\fIbind\fR
or
\fIunbound\fR
nameserver configuration\&.
.RE
.SH "EXAMPLES"
.PP
Get all DNSKEY records for Top Level Domains (TLD\*(Aqs) in the Root ("\&.") zone, using the F root\-server that allows zone\-transfers:
.PP
\fB% dnskey\-pull \-t \-a \-s f\&.root\-servers\&.net \&.\fR
.PP
Get a trusted\-key statement for the xelerance\&.com zone:
.PP
\fB% dnskey\-pull \-t xelerance\&.com\fR
.PP
Get the trusted keys for the TLD\*(Aqs of Sweden, Brasil and Bulgaria:
.PP
\fB% dnskey\-pull se\&. br\&. bg\&.\fR
.PP
Find all secured
\fIENUM\fR
zones:
.PP
\fB% dnskey\-pull \-a \-s ns\-pri\&.ripe\&.net\&. e164\&.arpa\&.\fR
.PP
Find the keys on the webpage of the Brasil NIC:
.PP
\fB% dnskey\-pull https://registro\&.br/ksk/index\&.html\fR
.SH "EXIT STATUS"
.PP
dnskey\-pull returns 0 when it found one or more DNSKEY records, and non\-zero upon finding no DNSKEY records\&.
.SH "SEE ALSO"
.PP
\fBdnssec-configure\fR(1),
\fBsystem-config-dnssec\fR(1),
\fBnamed.conf\fR(8),
\fBunbound.conf\fR(8),
\fBautotrust\fR(8),
\fBunbound-host\fR(8)\&.
.SH "AUTHOR"
.PP
Paul Wouters <paul@xelerance\&.com>