|
|
ca65a3 |
From 8481a8f65fec3b6b9bc0984f6ba36fbc82cc78ff Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 14:52:28 +0200
|
|
|
ca65a3 |
Subject: [PATCH 1/8] ldns-compare: add missing options into usage
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-compare-zones.c | 2 ++
|
|
|
ca65a3 |
1 file changed, 2 insertions(+)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-compare-zones.c b/examples/ldns-compare-zones.c
|
|
|
ca65a3 |
index 663b744..084b801 100644
|
|
|
ca65a3 |
--- a/examples/ldns-compare-zones.c
|
|
|
ca65a3 |
+++ b/examples/ldns-compare-zones.c
|
|
|
ca65a3 |
@@ -33,6 +33,8 @@ usage(char *prog)
|
|
|
ca65a3 |
printf(" -a - print all differences (-i -d -c)\n");
|
|
|
ca65a3 |
printf(" -s - do not exclude SOA record from comparison\n");
|
|
|
ca65a3 |
printf(" -z - do not sort zones\n");
|
|
|
ca65a3 |
+ printf(" -h - show usage and exit\n");
|
|
|
ca65a3 |
+ printf(" -v - show the version and exit\n");
|
|
|
ca65a3 |
}
|
|
|
ca65a3 |
|
|
|
ca65a3 |
int
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 911a2bdcb03cbf36ac4591e1eea3c142b236350f Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:01:39 +0200
|
|
|
ca65a3 |
Subject: [PATCH 2/8] ldns-key2ds: Add -f option into man page
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-key2ds.1 | 4 ++++
|
|
|
ca65a3 |
1 file changed, 4 insertions(+)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-key2ds.1 b/examples/ldns-key2ds.1
|
|
|
ca65a3 |
index 6fdbee5..a20ab96 100644
|
|
|
ca65a3 |
--- a/examples/ldns-key2ds.1
|
|
|
ca65a3 |
+++ b/examples/ldns-key2ds.1
|
|
|
ca65a3 |
@@ -17,6 +17,10 @@ SHA1 for RSASHA1, and so on.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
.SH OPTIONS
|
|
|
ca65a3 |
.TP
|
|
|
ca65a3 |
+\fB-f\fR
|
|
|
ca65a3 |
+Ignore SEP flag (i.e. make DS records for any key)
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
\fB-n\fR
|
|
|
ca65a3 |
Write the result DS Resource Record to stdout instead of a file
|
|
|
ca65a3 |
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 4d9ea09fac2965316381336e83e78a30cd9b0573 Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:07:51 +0200
|
|
|
ca65a3 |
Subject: [PATCH 3/8] ldns-keygen: remove unused options
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-keygen.c | 2 +-
|
|
|
ca65a3 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-keygen.c b/examples/ldns-keygen.c
|
|
|
ca65a3 |
index 5765417..38ecfc1 100644
|
|
|
ca65a3 |
--- a/examples/ldns-keygen.c
|
|
|
ca65a3 |
+++ b/examples/ldns-keygen.c
|
|
|
ca65a3 |
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
|
|
|
ca65a3 |
random = NULL;
|
|
|
ca65a3 |
ksk = false; /* don't create a ksk per default */
|
|
|
ca65a3 |
|
|
|
ca65a3 |
- while ((c = getopt(argc, argv, "a:kb:r:v25")) != -1) {
|
|
|
ca65a3 |
+ while ((c = getopt(argc, argv, "a:kb:r:v")) != -1) {
|
|
|
ca65a3 |
switch (c) {
|
|
|
ca65a3 |
case 'a':
|
|
|
ca65a3 |
if (algorithm != 0) {
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 8726559f93ed85ae85b3667e4d8018c80714f3af Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:17:58 +0200
|
|
|
ca65a3 |
Subject: [PATCH 4/8] ldns-read-zone: document -b option in man page
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-read-zone.1 | 4 ++++
|
|
|
ca65a3 |
examples/ldns-read-zone.c | 2 +-
|
|
|
ca65a3 |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-read-zone.1 b/examples/ldns-read-zone.1
|
|
|
ca65a3 |
index 7d4fd7d..e166658 100644
|
|
|
ca65a3 |
--- a/examples/ldns-read-zone.1
|
|
|
ca65a3 |
+++ b/examples/ldns-read-zone.1
|
|
|
ca65a3 |
@@ -22,6 +22,10 @@ that is not of type NSEC, NSEC3, RRSIG or DNSKEY. DS records are not
|
|
|
ca65a3 |
printed.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
.TP
|
|
|
ca65a3 |
+\fB-b\fR
|
|
|
ca65a3 |
+Include Bubble Babble encoding of DS's.
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
\fB-0\fR
|
|
|
ca65a3 |
Print a (null) for the RRSIG inception, expiry and key data. This option
|
|
|
ca65a3 |
can be used when comparing different signing systems that use the same
|
|
|
ca65a3 |
diff --git a/examples/ldns-read-zone.c b/examples/ldns-read-zone.c
|
|
|
ca65a3 |
index efe187e..b0f5c3c 100644
|
|
|
ca65a3 |
--- a/examples/ldns-read-zone.c
|
|
|
ca65a3 |
+++ b/examples/ldns-read-zone.c
|
|
|
ca65a3 |
@@ -63,7 +63,7 @@ main(int argc, char **argv)
|
|
|
ca65a3 |
printf("Usage: %s [OPTIONS] <zonefile>\n", argv[0]);
|
|
|
ca65a3 |
printf("\tReads the zonefile and prints it.\n");
|
|
|
ca65a3 |
printf("\tThe RR count of the zone is printed to stderr.\n");
|
|
|
ca65a3 |
- printf("\t-b include bubblebabble of DS's.\n");
|
|
|
ca65a3 |
+ printf("\t-b include Bubble Babble encoding of DS's.\n");
|
|
|
ca65a3 |
printf("\t-0 zeroize timestamps and signature in RRSIG records.\n");
|
|
|
ca65a3 |
printf("\t-c canonicalize all rrs in the zone.\n");
|
|
|
ca65a3 |
printf("\t-d only show DNSSEC data from the zone\n");
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 9292d3ffc9e929b50e23d6ccc71fe2201af11e25 Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:22:47 +0200
|
|
|
ca65a3 |
Subject: [PATCH 5/8] ldns-sigzone: remove unused -l option
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-signzone.c | 2 +-
|
|
|
ca65a3 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-signzone.c b/examples/ldns-signzone.c
|
|
|
ca65a3 |
index 25ece3a..be505f4 100644
|
|
|
ca65a3 |
--- a/examples/ldns-signzone.c
|
|
|
ca65a3 |
+++ b/examples/ldns-signzone.c
|
|
|
ca65a3 |
@@ -379,7 +379,7 @@ main(int argc, char *argv[])
|
|
|
ca65a3 |
|
|
|
ca65a3 |
OPENSSL_config(NULL);
|
|
|
ca65a3 |
|
|
|
ca65a3 |
- while ((c = getopt(argc, argv, "a:bde:f:i:k:lno:ps:t:vAE:K:")) != -1) {
|
|
|
ca65a3 |
+ while ((c = getopt(argc, argv, "a:bde:f:i:k:no:ps:t:vAE:K:")) != -1) {
|
|
|
ca65a3 |
switch (c) {
|
|
|
ca65a3 |
case 'a':
|
|
|
ca65a3 |
nsec3_algorithm = (uint8_t) atoi(optarg);
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 76a188d66f919b25d553c94e41781d6bf14704f1 Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:28:21 +0200
|
|
|
ca65a3 |
Subject: [PATCH 6/8] ldns-walk: add missing options into man page
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-walk.1 | 12 ++++++++++++
|
|
|
ca65a3 |
1 file changed, 12 insertions(+)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-walk.1 b/examples/ldns-walk.1
|
|
|
ca65a3 |
index c8ace40..d4d1b6e 100644
|
|
|
ca65a3 |
--- a/examples/ldns-walk.1
|
|
|
ca65a3 |
+++ b/examples/ldns-walk.1
|
|
|
ca65a3 |
@@ -22,6 +22,14 @@ Of course the nameserver that is used must be DNSSEC-aware.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
.SH OPTIONS
|
|
|
ca65a3 |
.TP
|
|
|
ca65a3 |
+\fB-4\fR
|
|
|
ca65a3 |
+Use only IPv4.
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
+\fB-6\fR
|
|
|
ca65a3 |
+Use only IPv6.
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
\fB-f\fR
|
|
|
ca65a3 |
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.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
@@ -31,6 +39,10 @@ Start the walk with this owner name. Useful when continuing the walk for a
|
|
|
ca65a3 |
large zone.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
.TP
|
|
|
ca65a3 |
+\fB-v\fR \fIverbosity\fR
|
|
|
ca65a3 |
+Verbosity level [1-5].
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
\fB@\fR \fInameserver\fR
|
|
|
ca65a3 |
Send the queries to this nameserver.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 4317011bef2f58c045300ff7e479635d2e680809 Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:35:35 +0200
|
|
|
ca65a3 |
Subject: [PATCH 7/8] ldns-zcat: remove unused option -n and document option -v
|
|
|
ca65a3 |
in man page
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-zcat.1 | 4 ++++
|
|
|
ca65a3 |
examples/ldns-zcat.c | 2 +-
|
|
|
ca65a3 |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-zcat.1 b/examples/ldns-zcat.1
|
|
|
ca65a3 |
index 9c4054d..4fd7ba6 100644
|
|
|
ca65a3 |
--- a/examples/ldns-zcat.1
|
|
|
ca65a3 |
+++ b/examples/ldns-zcat.1
|
|
|
ca65a3 |
@@ -18,6 +18,10 @@ The resulted zone file is printed to standard output.
|
|
|
ca65a3 |
.B -o ORIGIN
|
|
|
ca65a3 |
use ORIGIN when reading in the zone
|
|
|
ca65a3 |
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
+.B -v
|
|
|
ca65a3 |
+show the version number and exit
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
.SH AUTHOR
|
|
|
ca65a3 |
Written by the ldns team as an example for ldns usage.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-zcat.c b/examples/ldns-zcat.c
|
|
|
ca65a3 |
index df4ecba..eea6ea7 100644
|
|
|
ca65a3 |
--- a/examples/ldns-zcat.c
|
|
|
ca65a3 |
+++ b/examples/ldns-zcat.c
|
|
|
ca65a3 |
@@ -54,7 +54,7 @@ main(int argc, char **argv)
|
|
|
ca65a3 |
progname = strdup(argv[0]);
|
|
|
ca65a3 |
origin = NULL;
|
|
|
ca65a3 |
|
|
|
ca65a3 |
- while ((c = getopt(argc, argv, "n:o:v")) != -1) {
|
|
|
ca65a3 |
+ while ((c = getopt(argc, argv, "o:v")) != -1) {
|
|
|
ca65a3 |
switch(c) {
|
|
|
ca65a3 |
case 'o':
|
|
|
ca65a3 |
origin = ldns_dname_new_frm_str(strdup(optarg));
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|
|
|
ca65a3 |
|
|
|
ca65a3 |
From 147b12971f4308f6ebf1085fde5e61327c192ed5 Mon Sep 17 00:00:00 2001
|
|
|
ca65a3 |
From: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
Date: Thu, 18 Jul 2013 15:39:03 +0200
|
|
|
ca65a3 |
Subject: [PATCH 8/8] ldns-zsplit: document -v option in man page
|
|
|
ca65a3 |
|
|
|
ca65a3 |
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
|
ca65a3 |
---
|
|
|
ca65a3 |
examples/ldns-zsplit.1 | 4 ++++
|
|
|
ca65a3 |
1 file changed, 4 insertions(+)
|
|
|
ca65a3 |
|
|
|
ca65a3 |
diff --git a/examples/ldns-zsplit.1 b/examples/ldns-zsplit.1
|
|
|
ca65a3 |
index 8e64668..02dce40 100644
|
|
|
ca65a3 |
--- a/examples/ldns-zsplit.1
|
|
|
ca65a3 |
+++ b/examples/ldns-zsplit.1
|
|
|
ca65a3 |
@@ -27,6 +27,10 @@ use ORIGIN as origin when reading the zonefile.
|
|
|
ca65a3 |
.B -z
|
|
|
ca65a3 |
Sort the zone before splitting.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
+.TP
|
|
|
ca65a3 |
+.B -v
|
|
|
ca65a3 |
+Show version number and exit.
|
|
|
ca65a3 |
+
|
|
|
ca65a3 |
.SH AUTHOR
|
|
|
ca65a3 |
Written by the ldns team as an example for ldns usage.
|
|
|
ca65a3 |
|
|
|
ca65a3 |
--
|
|
|
ca65a3 |
1.8.3.1
|
|
|
ca65a3 |
|