1 |
unnilennium |
1.1 |
From 8481a8f65fec3b6b9bc0984f6ba36fbc82cc78ff Mon Sep 17 00:00:00 2001 |
2 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
3 |
|
|
Date: Thu, 18 Jul 2013 14:52:28 +0200 |
4 |
|
|
Subject: [PATCH 1/8] ldns-compare: add missing options into usage |
5 |
|
|
|
6 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
7 |
|
|
--- |
8 |
|
|
examples/ldns-compare-zones.c | 2 ++ |
9 |
|
|
1 file changed, 2 insertions(+) |
10 |
|
|
|
11 |
|
|
diff --git a/examples/ldns-compare-zones.c b/examples/ldns-compare-zones.c |
12 |
|
|
index 663b744..084b801 100644 |
13 |
|
|
--- a/examples/ldns-compare-zones.c |
14 |
|
|
+++ b/examples/ldns-compare-zones.c |
15 |
|
|
@@ -33,6 +33,8 @@ usage(char *prog) |
16 |
|
|
printf(" -a - print all differences (-i -d -c)\n"); |
17 |
|
|
printf(" -s - do not exclude SOA record from comparison\n"); |
18 |
|
|
printf(" -z - do not sort zones\n"); |
19 |
|
|
+ printf(" -h - show usage and exit\n"); |
20 |
|
|
+ printf(" -v - show the version and exit\n"); |
21 |
|
|
} |
22 |
|
|
|
23 |
|
|
int |
24 |
|
|
-- |
25 |
|
|
1.8.3.1 |
26 |
|
|
|
27 |
|
|
|
28 |
|
|
From 911a2bdcb03cbf36ac4591e1eea3c142b236350f Mon Sep 17 00:00:00 2001 |
29 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
30 |
|
|
Date: Thu, 18 Jul 2013 15:01:39 +0200 |
31 |
|
|
Subject: [PATCH 2/8] ldns-key2ds: Add -f option into man page |
32 |
|
|
|
33 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
34 |
|
|
--- |
35 |
|
|
examples/ldns-key2ds.1 | 4 ++++ |
36 |
|
|
1 file changed, 4 insertions(+) |
37 |
|
|
|
38 |
|
|
diff --git a/examples/ldns-key2ds.1 b/examples/ldns-key2ds.1 |
39 |
|
|
index 6fdbee5..a20ab96 100644 |
40 |
|
|
--- a/examples/ldns-key2ds.1 |
41 |
|
|
+++ b/examples/ldns-key2ds.1 |
42 |
|
|
@@ -17,6 +17,10 @@ SHA1 for RSASHA1, and so on. |
43 |
|
|
|
44 |
|
|
.SH OPTIONS |
45 |
|
|
.TP |
46 |
|
|
+\fB-f\fR |
47 |
|
|
+Ignore SEP flag (i.e. make DS records for any key) |
48 |
|
|
+ |
49 |
|
|
+.TP |
50 |
|
|
\fB-n\fR |
51 |
|
|
Write the result DS Resource Record to stdout instead of a file |
52 |
|
|
|
53 |
|
|
-- |
54 |
|
|
1.8.3.1 |
55 |
|
|
|
56 |
|
|
|
57 |
|
|
From 4d9ea09fac2965316381336e83e78a30cd9b0573 Mon Sep 17 00:00:00 2001 |
58 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
59 |
|
|
Date: Thu, 18 Jul 2013 15:07:51 +0200 |
60 |
|
|
Subject: [PATCH 3/8] ldns-keygen: remove unused options |
61 |
|
|
|
62 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
63 |
|
|
--- |
64 |
|
|
examples/ldns-keygen.c | 2 +- |
65 |
|
|
1 file changed, 1 insertion(+), 1 deletion(-) |
66 |
|
|
|
67 |
|
|
diff --git a/examples/ldns-keygen.c b/examples/ldns-keygen.c |
68 |
|
|
index 5765417..38ecfc1 100644 |
69 |
|
|
--- a/examples/ldns-keygen.c |
70 |
|
|
+++ b/examples/ldns-keygen.c |
71 |
|
|
@@ -71,7 +71,7 @@ main(int argc, char *argv[]) |
72 |
|
|
random = NULL; |
73 |
|
|
ksk = false; /* don't create a ksk per default */ |
74 |
|
|
|
75 |
|
|
- while ((c = getopt(argc, argv, "a:kb:r:v25")) != -1) { |
76 |
|
|
+ while ((c = getopt(argc, argv, "a:kb:r:v")) != -1) { |
77 |
|
|
switch (c) { |
78 |
|
|
case 'a': |
79 |
|
|
if (algorithm != 0) { |
80 |
|
|
-- |
81 |
|
|
1.8.3.1 |
82 |
|
|
|
83 |
|
|
|
84 |
|
|
From 8726559f93ed85ae85b3667e4d8018c80714f3af Mon Sep 17 00:00:00 2001 |
85 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
86 |
|
|
Date: Thu, 18 Jul 2013 15:17:58 +0200 |
87 |
|
|
Subject: [PATCH 4/8] ldns-read-zone: document -b option in man page |
88 |
|
|
|
89 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
90 |
|
|
--- |
91 |
|
|
examples/ldns-read-zone.1 | 4 ++++ |
92 |
|
|
examples/ldns-read-zone.c | 2 +- |
93 |
|
|
2 files changed, 5 insertions(+), 1 deletion(-) |
94 |
|
|
|
95 |
|
|
diff --git a/examples/ldns-read-zone.1 b/examples/ldns-read-zone.1 |
96 |
|
|
index 7d4fd7d..e166658 100644 |
97 |
|
|
--- a/examples/ldns-read-zone.1 |
98 |
|
|
+++ b/examples/ldns-read-zone.1 |
99 |
|
|
@@ -22,6 +22,10 @@ that is not of type NSEC, NSEC3, RRSIG or DNSKEY. DS records are not |
100 |
|
|
printed. |
101 |
|
|
|
102 |
|
|
.TP |
103 |
|
|
+\fB-b\fR |
104 |
|
|
+Include Bubble Babble encoding of DS's. |
105 |
|
|
+ |
106 |
|
|
+.TP |
107 |
|
|
\fB-0\fR |
108 |
|
|
Print a (null) for the RRSIG inception, expiry and key data. This option |
109 |
|
|
can be used when comparing different signing systems that use the same |
110 |
|
|
diff --git a/examples/ldns-read-zone.c b/examples/ldns-read-zone.c |
111 |
|
|
index efe187e..b0f5c3c 100644 |
112 |
|
|
--- a/examples/ldns-read-zone.c |
113 |
|
|
+++ b/examples/ldns-read-zone.c |
114 |
|
|
@@ -63,7 +63,7 @@ main(int argc, char **argv) |
115 |
|
|
printf("Usage: %s [OPTIONS] <zonefile>\n", argv[0]); |
116 |
|
|
printf("\tReads the zonefile and prints it.\n"); |
117 |
|
|
printf("\tThe RR count of the zone is printed to stderr.\n"); |
118 |
|
|
- printf("\t-b include bubblebabble of DS's.\n"); |
119 |
|
|
+ printf("\t-b include Bubble Babble encoding of DS's.\n"); |
120 |
|
|
printf("\t-0 zeroize timestamps and signature in RRSIG records.\n"); |
121 |
|
|
printf("\t-c canonicalize all rrs in the zone.\n"); |
122 |
|
|
printf("\t-d only show DNSSEC data from the zone\n"); |
123 |
|
|
-- |
124 |
|
|
1.8.3.1 |
125 |
|
|
|
126 |
|
|
|
127 |
|
|
From 9292d3ffc9e929b50e23d6ccc71fe2201af11e25 Mon Sep 17 00:00:00 2001 |
128 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
129 |
|
|
Date: Thu, 18 Jul 2013 15:22:47 +0200 |
130 |
|
|
Subject: [PATCH 5/8] ldns-sigzone: remove unused -l option |
131 |
|
|
|
132 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
133 |
|
|
--- |
134 |
|
|
examples/ldns-signzone.c | 2 +- |
135 |
|
|
1 file changed, 1 insertion(+), 1 deletion(-) |
136 |
|
|
|
137 |
|
|
diff --git a/examples/ldns-signzone.c b/examples/ldns-signzone.c |
138 |
|
|
index 25ece3a..be505f4 100644 |
139 |
|
|
--- a/examples/ldns-signzone.c |
140 |
|
|
+++ b/examples/ldns-signzone.c |
141 |
|
|
@@ -379,7 +379,7 @@ main(int argc, char *argv[]) |
142 |
|
|
|
143 |
|
|
OPENSSL_config(NULL); |
144 |
|
|
|
145 |
|
|
- while ((c = getopt(argc, argv, "a:bde:f:i:k:lno:ps:t:vAE:K:")) != -1) { |
146 |
|
|
+ while ((c = getopt(argc, argv, "a:bde:f:i:k:no:ps:t:vAE:K:")) != -1) { |
147 |
|
|
switch (c) { |
148 |
|
|
case 'a': |
149 |
|
|
nsec3_algorithm = (uint8_t) atoi(optarg); |
150 |
|
|
-- |
151 |
|
|
1.8.3.1 |
152 |
|
|
|
153 |
|
|
|
154 |
|
|
From 76a188d66f919b25d553c94e41781d6bf14704f1 Mon Sep 17 00:00:00 2001 |
155 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
156 |
|
|
Date: Thu, 18 Jul 2013 15:28:21 +0200 |
157 |
|
|
Subject: [PATCH 6/8] ldns-walk: add missing options into man page |
158 |
|
|
|
159 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
160 |
|
|
--- |
161 |
|
|
examples/ldns-walk.1 | 12 ++++++++++++ |
162 |
|
|
1 file changed, 12 insertions(+) |
163 |
|
|
|
164 |
|
|
diff --git a/examples/ldns-walk.1 b/examples/ldns-walk.1 |
165 |
|
|
index c8ace40..d4d1b6e 100644 |
166 |
|
|
--- a/examples/ldns-walk.1 |
167 |
|
|
+++ b/examples/ldns-walk.1 |
168 |
|
|
@@ -22,6 +22,14 @@ Of course the nameserver that is used must be DNSSEC-aware. |
169 |
|
|
|
170 |
|
|
.SH OPTIONS |
171 |
|
|
.TP |
172 |
|
|
+\fB-4\fR |
173 |
|
|
+Use only IPv4. |
174 |
|
|
+ |
175 |
|
|
+.TP |
176 |
|
|
+\fB-6\fR |
177 |
|
|
+Use only IPv6. |
178 |
|
|
+ |
179 |
|
|
+.TP |
180 |
|
|
\fB-f\fR |
181 |
|
|
Do a 'full' zone walk; by default, ldns-walk will only show the names, and types present at those names. If this option is given, all resource records will be printed. |
182 |
|
|
|
183 |
|
|
@@ -31,6 +39,10 @@ Start the walk with this owner name. Useful when continuing the walk for a |
184 |
|
|
large zone. |
185 |
|
|
|
186 |
|
|
.TP |
187 |
|
|
+\fB-v\fR \fIverbosity\fR |
188 |
|
|
+Verbosity level [1-5]. |
189 |
|
|
+ |
190 |
|
|
+.TP |
191 |
|
|
\fB@\fR \fInameserver\fR |
192 |
|
|
Send the queries to this nameserver. |
193 |
|
|
|
194 |
|
|
-- |
195 |
|
|
1.8.3.1 |
196 |
|
|
|
197 |
|
|
|
198 |
|
|
From 4317011bef2f58c045300ff7e479635d2e680809 Mon Sep 17 00:00:00 2001 |
199 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
200 |
|
|
Date: Thu, 18 Jul 2013 15:35:35 +0200 |
201 |
|
|
Subject: [PATCH 7/8] ldns-zcat: remove unused option -n and document option -v |
202 |
|
|
in man page |
203 |
|
|
|
204 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
205 |
|
|
--- |
206 |
|
|
examples/ldns-zcat.1 | 4 ++++ |
207 |
|
|
examples/ldns-zcat.c | 2 +- |
208 |
|
|
2 files changed, 5 insertions(+), 1 deletion(-) |
209 |
|
|
|
210 |
|
|
diff --git a/examples/ldns-zcat.1 b/examples/ldns-zcat.1 |
211 |
|
|
index 9c4054d..4fd7ba6 100644 |
212 |
|
|
--- a/examples/ldns-zcat.1 |
213 |
|
|
+++ b/examples/ldns-zcat.1 |
214 |
|
|
@@ -18,6 +18,10 @@ The resulted zone file is printed to standard output. |
215 |
|
|
.B -o ORIGIN |
216 |
|
|
use ORIGIN when reading in the zone |
217 |
|
|
|
218 |
|
|
+.TP |
219 |
|
|
+.B -v |
220 |
|
|
+show the version number and exit |
221 |
|
|
+ |
222 |
|
|
.SH AUTHOR |
223 |
|
|
Written by the ldns team as an example for ldns usage. |
224 |
|
|
|
225 |
|
|
diff --git a/examples/ldns-zcat.c b/examples/ldns-zcat.c |
226 |
|
|
index df4ecba..eea6ea7 100644 |
227 |
|
|
--- a/examples/ldns-zcat.c |
228 |
|
|
+++ b/examples/ldns-zcat.c |
229 |
|
|
@@ -54,7 +54,7 @@ main(int argc, char **argv) |
230 |
|
|
progname = strdup(argv[0]); |
231 |
|
|
origin = NULL; |
232 |
|
|
|
233 |
|
|
- while ((c = getopt(argc, argv, "n:o:v")) != -1) { |
234 |
|
|
+ while ((c = getopt(argc, argv, "o:v")) != -1) { |
235 |
|
|
switch(c) { |
236 |
|
|
case 'o': |
237 |
|
|
origin = ldns_dname_new_frm_str(strdup(optarg)); |
238 |
|
|
-- |
239 |
|
|
1.8.3.1 |
240 |
|
|
|
241 |
|
|
|
242 |
|
|
From 147b12971f4308f6ebf1085fde5e61327c192ed5 Mon Sep 17 00:00:00 2001 |
243 |
|
|
From: Tomas Hozza <thozza@redhat.com> |
244 |
|
|
Date: Thu, 18 Jul 2013 15:39:03 +0200 |
245 |
|
|
Subject: [PATCH 8/8] ldns-zsplit: document -v option in man page |
246 |
|
|
|
247 |
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com> |
248 |
|
|
--- |
249 |
|
|
examples/ldns-zsplit.1 | 4 ++++ |
250 |
|
|
1 file changed, 4 insertions(+) |
251 |
|
|
|
252 |
|
|
diff --git a/examples/ldns-zsplit.1 b/examples/ldns-zsplit.1 |
253 |
|
|
index 8e64668..02dce40 100644 |
254 |
|
|
--- a/examples/ldns-zsplit.1 |
255 |
|
|
+++ b/examples/ldns-zsplit.1 |
256 |
|
|
@@ -27,6 +27,10 @@ use ORIGIN as origin when reading the zonefile. |
257 |
|
|
.B -z |
258 |
|
|
Sort the zone before splitting. |
259 |
|
|
|
260 |
|
|
+.TP |
261 |
|
|
+.B -v |
262 |
|
|
+Show version number and exit. |
263 |
|
|
+ |
264 |
|
|
.SH AUTHOR |
265 |
|
|
Written by the ldns team as an example for ldns usage. |
266 |
|
|
|
267 |
|
|
-- |
268 |
|
|
1.8.3.1 |
269 |
|
|
|