From: Miek Gieben Date: Tue, 27 Sep 2005 12:56:50 +0000 (+0000) Subject: manpage tweaks X-Git-Tag: release-1.0.0~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe6c74fb40f6adef035fdbb2ecb41ebd7d5a902d;p=thirdparty%2Fldns.git manpage tweaks --- diff --git a/doc/ldns-signzone.1 b/doc/ldns-signzone.1 index 1d491a31..25f35f01 100644 --- a/doc/ldns-signzone.1 +++ b/doc/ldns-signzone.1 @@ -6,14 +6,19 @@ ldns-signzone \- sign a zonefile with DNSSEC data [ .IR OPTION ] -.IR ZONEFILE KEYNAME(S) +.IR ZONEFILE +.IR +KEY +[KEY +[KEY] ... +] .SH DESCRIPTION \fBldns-signzone\fR is used to generate a DNSSEC signed zone. When run it will create a new zonefile that contains RRSIG and NSEC resource records, as -specified in rfc4033, rfc4034 and rfc4035. It will add the DNSKEY that is -used to the zone. +specified in RFC 4033, RFC 4034 and RFC 4035. It will add the DNSKEY(s) +that is/are used to sign the zone. Keys must be specified by their base name (i.e. without .key and .private) and both the public and private key must be present in the specified @@ -22,15 +27,17 @@ location. Multiple keys can be specified. .SH OPTIONS .TP \fB-e\f \fIdate\fR -Set expiration date of the signatures to this date (format: YYYYMMDD[hhmmss]) +Set expiration date of the signatures to this date, the format can be +YYYYMMDD[hhmmss], or a timestamp. .TP -\fB-f\f \fIfile\fR -Use this file to store the signed zone in (default .signed) +\fB-i\f \fIdate\fR +Set inception date of the signatures to this date, the format can be +YYYYMMDD[hhmmss], or a timestamp. .TP -\fB-i\f \fIdate\fR -Set inception date of the signatures to this date (format: YYYYMMDD[hhmmss]) +\fB-f\f \fIfile\fR +Use this file to store the signed zone in (default .signed) .TP \fB-o\f \fIorigin\fR diff --git a/ldns-signzone.c b/ldns-signzone.c index fb96eec8..318d1d58 100644 --- a/ldns-signzone.c +++ b/ldns-signzone.c @@ -22,7 +22,7 @@ usage(FILE *fp, const char *prog) { fprintf(fp, " signs the zone with the given key(s)\n"); fprintf(fp, " -e \texpiration date\n"); fprintf(fp, " -f \toutput zone to file (default .signed)\n"); - fprintf(fp, " -i t\tinception date\n"); + fprintf(fp, " -i \tinception date\n"); fprintf(fp, " -o \torigin for the zone\n"); fprintf(fp, " keys must be specified by their base name: K++\n"); fprintf(fp, " both a .key and .private file must present\n");