summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2015-02-13 13:41:20 +0100
committerWillem Toorop <willem@nlnetlabs.nl>2015-02-13 13:41:20 +0100
commit48f0e6886316a1775d1466f69aaad9b01f4de411 (patch)
tree1963e67aabc79aa00e65a14118ea133e92915ea3 /examples
parenteda77fad6d94ad4f739ee15aa0d2f403f3337e09 (diff)
downloadldns-48f0e6886316a1775d1466f69aaad9b01f4de411.tar.gz
Hyphen used as minus in manpages.
Thanks Andreas Schulze
Diffstat (limited to 'examples')
-rw-r--r--examples/ldns-compare-zones.16
-rw-r--r--examples/ldns-dane.1.in2
-rw-r--r--examples/ldns-dpa.136
-rw-r--r--examples/ldns-gen-zone.14
-rw-r--r--examples/ldns-notify.12
-rw-r--r--examples/ldns-read-zone.12
-rw-r--r--examples/ldns-signzone.14
-rw-r--r--examples/ldns-verify-zone.1.in2
8 files changed, 29 insertions, 29 deletions
diff --git a/examples/ldns-compare-zones.1 b/examples/ldns-compare-zones.1
index 7ac69ddf..f299bb22 100644
--- a/examples/ldns-compare-zones.1
+++ b/examples/ldns-compare-zones.1
@@ -14,7 +14,7 @@ ldns-compare-zones \- read and compare two zonefiles and print differences
\fBldns-compare-zones\fR reads two DNS zone files and prints number of differences.
.nf
Output is formated to:
- +NUM_INS -NUM_DEL ~NUM_CHG
+ +NUM_INS \-NUM_DEL ~NUM_CHG
.fi
The major comparison is based on the owner name. If an owner name is present in zonefile 1, but not in zonefile 2, the resource records with this owner name are considered deleted, and counted as NUM_DEL. If an owner name is present in zonefile 2, but not in zonefile 1, the resource records with this owner name are considered inserted, and counted as NUM_INS. If an owner name is present in both, but there is a difference in the amount or content of the records, these are considered changed, and counted as NUM_CHG.
@@ -30,8 +30,8 @@ Print resource records whose owner names are present only in ZONEFILE2 (a.k.a. i
Print resource records whose owner names are present only in ZONEFILE1 (a.k.a. deleted)
.TP
\fB-a\fR
-Print all changes. Specifying this option is the same as specifying -c -i
-amd -d.
+Print all changes. Specifying this option is the same as specifying \-c \-i
+amd \-d.
.TP
\fB-z\fR
Suppress zone sorting; this option is not recommended; it can cause records
diff --git a/examples/ldns-dane.1.in b/examples/ldns-dane.1.in
index bfc0e400..a3d83a22 100644
--- a/examples/ldns-dane.1.in
+++ b/examples/ldns-dane.1.in
@@ -125,7 +125,7 @@ select the \fIoffset\fRth certificate offset from the end
of the validation chain. 0 means the last certificate, 1 the one but last,
2 the second but last, etc.
-When \fIoffset\fR is -1 (the default), the last certificate
+When \fIoffset\fR is \-1 (the default), the last certificate
is used (like with 0) that MUST be self-signed. This can help to make
sure that the intended (self signed) trust anchor is actually present
in the server certificate chain (which is a DANE requirement).
diff --git a/examples/ldns-dpa.1 b/examples/ldns-dpa.1
index 0b433df6..b6688ae4 100644
--- a/examples/ldns-dpa.1
+++ b/examples/ldns-dpa.1
@@ -26,17 +26,17 @@ Show usage
.TP
\fB-p\fR
-Show the total number of correct DNS packets, and percentage of -u and
--c values (of the total of matching on the -f filter. if no filter is
+Show the total number of correct DNS packets, and percentage of \-u and
+\-c values (of the total of matching on the \-f filter. if no filter is
given, percentages are on all correct dns packets)
.TP
\fB-of\fR \fIfile\fR
-Write all packets that match the -f flag to file, as pcap data.
+Write all packets that match the \-f flag to file, as pcap data.
.TP
\fB-ofh\fR \fIfile\fR
-Write all packets that match the -f flag to file, in hexadecimal format,
+Write all packets that match the \-f flag to file, in hexadecimal format,
readable by drill.
.TP
@@ -49,8 +49,8 @@ show possible match operators and values for name
.TP
\fB-sf\fR
-Only evaluate packets (in representation format) that match the -f filter.
-If no -f was given, evaluate all correct dns packets.
+Only evaluate packets (in representation format) that match the \-f filter.
+If no \-f was given, evaluate all correct dns packets.
.TP
\fB-u\fR \fImatchnamelist\fR
@@ -58,15 +58,15 @@ Count every occurence of every value of the matchname (for instance, count all p
.TP
\fB-ua\fR
-For every matchname in -u, show the average value of all matches. Behaviour for match types that do not have an integer value is undefined.
+For every matchname in \-u, show the average value of all matches. Behaviour for match types that do not have an integer value is undefined.
.TP
\fB-uac\fR
-For every matchname in -u, show the average number of times this value was encountered.
+For every matchname in \-u, show the average number of times this value was encountered.
.TP
\fB-um\fR \fInumber\fR
-Only show the results from -u for values that occurred more than <number> times.
+Only show the results from \-u for values that occurred more than <number> times.
.TP
\fB-v\fR \fIlevel\fR
@@ -86,7 +86,7 @@ Show version and exit
.SH LIST AND MATCHES
-A <matchnamelist> is a comma separated list of match names (use -s to see possible match names).
+A <matchnamelist> is a comma separated list of match names (use \-s to see possible match names).
A <expressionlist> is a comma separated list of expressions.
An expression has the following form:
@@ -106,36 +106,36 @@ An expression has the following form:
<= lesser than or equal to <value>
~= contains <value>
-See the -s option for possible matchnames, operators and values.
+See the \-s option for possible matchnames, operators and values.
.SH EXAMPLES
.TP
-ldns-dpa -u packetsize -p test.tr
+ldns-dpa \-u packetsize \-p test.tr
Count all different packetsizes in test.tr and show the precentages.
.TP
-ldns-dpa -f "edns=1&qr=0" -of edns.tr test.tr
+ldns-dpa \-f "edns=1&qr=0" \-of edns.tr test.tr
Filter out all edns enable queries in test.tr and put them in edns.tr
.TP
-ldns-dpa -f edns=1 -c tc=1 -u rcode test.tr
+ldns-dpa \-f edns=1 \-c tc=1 \-u rcode test.tr
For all edns packets, count the number of truncated packets and all their rcodes in test.tr.
.TP
-ldns-dpa -c tc=1,qr=0,qr=1,opcode=QUERY test.tr
+ldns-dpa \-c tc=1,qr=0,qr=1,opcode=QUERY test.tr
For all packets, count the number of truncated packets, the number of packets with qr=0, the number of packets with qr=1 and the number of queries in test.tr.
.TP
-ldns-dpa -u packetsize -ua test.tr
+ldns-dpa \-u packetsize \-ua test.tr
Show all packet sizes and the average packet size per packet.
.TP
-ldns-dpa -u srcaddress -uac test.tr
+ldns-dpa \-u srcaddress \-uac test.tr
Show all packet source addresses and the average number of packets sent from this address.
.TP
-sudo tcpdump -i eth0 -s 0 -U -w - port 53 | ldns-dpa -f qr=0 -sf
+sudo tcpdump \-i eth0 \-s 0 \-U \-w \- port 53 | ldns-dpa \-f qr=0 \-sf
Print all query packets seen on the specified interface.
diff --git a/examples/ldns-gen-zone.1 b/examples/ldns-gen-zone.1
index 5e7129b8..0e5a0dc6 100644
--- a/examples/ldns-gen-zone.1
+++ b/examples/ldns-gen-zone.1
@@ -62,13 +62,13 @@ Show version and exit.
.SH EXAMPLES
.TP
-\fBldns-gen-zone -a 100000 -p 10 -s ./zonefile.txt\fR
+\fBldns-gen-zone \-a 100000 \-p 10 \-s ./zonefile.txt\fR
Read a zonefile, add 100.000 artificial NS RRSets and 10% of DS records,
print it to standard output. Don't sort (will only work well if the input
zonefile is already sorted and canonicalized).
.TP
-\fBldns-gen-zone -p 10 -s -o nl zonefile.txt | named-compilezone -s relative -i none -o zonefile_10.txt nl /dev/stdin\fR
+\fBldns-gen-zone \-p 10 \-s \-o nl zonefile.txt | named-compilezone \-s relative \-i none \-o zonefile_10.txt nl /dev/stdin\fR
This creates a nicely formatted zone file with the help of \fBnamed-compilezone\fR.
It adds 10% DS records to the .nl zone, reformats it and saves it as \fBzonefile_10.txt\fR.
diff --git a/examples/ldns-notify.1 b/examples/ldns-notify.1
index 7ae77ac0..27266c1c 100644
--- a/examples/ldns-notify.1
+++ b/examples/ldns-notify.1
@@ -4,7 +4,7 @@ ldns-notify \- notify DNS servers that updates are available
.SH SYNOPSIS
.B ldns-notify
[options]
--z zone
+\-z zone
.IR servers
.SH DESCRIPTION
diff --git a/examples/ldns-read-zone.1 b/examples/ldns-read-zone.1
index 172097d0..0d77889f 100644
--- a/examples/ldns-read-zone.1
+++ b/examples/ldns-read-zone.1
@@ -98,7 +98,7 @@ Show the version and exit
.TP
\fB-z\fR
-Sort the zone before printing (this implies -c)
+Sort the zone before printing (this implies \-c)
.SH AUTHOR
diff --git a/examples/ldns-signzone.1 b/examples/ldns-signzone.1
index a83da94e..c33e1521 100644
--- a/examples/ldns-signzone.1
+++ b/examples/ldns-signzone.1
@@ -121,11 +121,11 @@ Number of hash iterations
.SH ENGINE OPTIONS
You can modify the possible engines, if supported, by setting an
OpenSSL configuration file. This is done through the environment
-variable OPENSSL_CONF. If you use -E with a non-existent engine name,
+variable OPENSSL_CONF. If you use \-E with a non-existent engine name,
ldns-signzone will print a list of engines supported by your
configuration.
-The key options (-k and -K) work as follows; you specify a key id, and a DNSSEC algorithm number (for instance, 5 for RSASHA1). The key id can be any of the following:
+The key options (\-k and \-K) work as follows; you specify a key id, and a DNSSEC algorithm number (for instance, 5 for RSASHA1). The key id can be any of the following:
<id>
<slot>:<id>
diff --git a/examples/ldns-verify-zone.1.in b/examples/ldns-verify-zone.1.in
index e03b7003..2cee807f 100644
--- a/examples/ldns-verify-zone.1.in
+++ b/examples/ldns-verify-zone.1.in
@@ -49,7 +49,7 @@ Defaults to 100.
.TP
\fB-S\fR
Chase signature(s) to a known key.
-The network may be accessed to validate the zone's DNSKEYs. (implies -k)
+The network may be accessed to validate the zone's DNSKEYs. (implies \-k)
.TP
\fB-t\fR \fIYYYYMMDDhhmmss | [+|-]offset\fR