From: Willem Toorop Date: Fri, 18 Oct 2024 09:20:23 +0000 (+0200) Subject: Fix ldns-update documentation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d37e490e0035f79414e4008ff8631672aa610966;p=thirdparty%2Fldns.git Fix ldns-update documentation --- diff --git a/examples/ldns-update.1 b/examples/ldns-update.1 index f36b2683..99c6958f 100644 --- a/examples/ldns-update.1 +++ b/examples/ldns-update.1 @@ -30,7 +30,7 @@ When given uses this \fBzone\fR instead of trying to find and process \fBdomain\ .TP \fBip\fR -Send the update to this IP address. +Set the \fBname\fR to this IP address. Or, when the literal text \fBnone\fR is given, remove any previous addresses. .TP diff --git a/examples/ldns-update.c b/examples/ldns-update.c index c6782036..249828e1 100644 --- a/examples/ldns-update.c +++ b/examples/ldns-update.c @@ -247,7 +247,7 @@ static void usage(FILE *fp, char *prog) { fprintf(fp, "%s domain [zone] ip tsig_name tsig_alg tsig_hmac\n", prog); - fprintf(fp, " send a dynamic update packet to \n\n"); + fprintf(fp, " send a dynamic update\n\n"); fprintf(fp, " Use 'none' instead of ip to remove any previous address\n"); fprintf(fp, " If 'zone' is not specified, try to figure it out from the zone's SOA\n"); fprintf(fp, " Example: %s my.example.org 1.2.3.4\n", prog);