Module Name: src
Committed By: wiz
Date: Sun Mar 21 21:26:00 UTC 2021
Modified Files:
src/external/mpl/bind/bin/nslookup: nslookup.8
Log Message:
Use standard section names, sort, use more macros.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mpl/bind/bin/nslookup/nslookup.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mpl/bind/bin/nslookup/nslookup.8
diff -u src/external/mpl/bind/bin/nslookup/nslookup.8:1.3 src/external/mpl/bind/bin/nslookup/nslookup.8:1.4
--- src/external/mpl/bind/bin/nslookup/nslookup.8:1.3 Sun Mar 21 16:21:35 2021
+++ src/external/mpl/bind/bin/nslookup/nslookup.8 Sun Mar 21 21:26:00 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: nslookup.8,v 1.3 2021/03/21 16:21:35 christos Exp $
+.\" $NetBSD: nslookup.8,v 1.4 2021/03/21 21:26:00 wiz Exp $
.\"
.\"
.\" ++Copyright++ 1985, 1989
@@ -114,7 +114,7 @@ The command line length must be less tha
To treat a built-in command as a host name,
precede it with an escape character
.Pq Sq \e .
-.Em N.B.: An unrecognized command will be interpreted as a host name.
+.Em N.B.: \&An unrecognized command will be interpreted as a host name.
.Bl -tag -width "lserver"
.It Ar host Op Ar server
Look up information for
@@ -445,7 +445,7 @@ abbreviation =
.Oo Ic no Oc Ns Ic ig )
.It Oo Ic no Oc Ns Ic fail
This keyword tries the next nameserver if a nameserver responds
-with
+with
.Dv SERVFAIL
or a referral (nofail), or terminates the query
(fail) on such a response.
@@ -453,24 +453,17 @@ or a referral (nofail), or terminates th
The default is nofail.
.El
.El
-.Sh RETURN VALUES
-.Nm
-returns with an exit status of
-.Dv 1
-if any query failed, and
-.Dv 0
-otherwise.
.Sh IDN SUPPORT
-If
+If
.Nm
has been built with IDN (internationalized domain name)
support, it can accept and display non-ASCII domain names.
-.Nm
+.Nm
appropriately converts character encoding of a domain name before sending
a request to a DNS server or displaying a reply from the server.
To turn off IDN support, define the IDN_DISABLE environment variable.
IDN support is disabled if the variable is set when
-.Nm
+.Nm
runs, or when the standard output is not a tty.
.Sh ENVIRONMENT
.Bl -tag -width "HOSTALIASESXXXX" -compact
@@ -486,6 +479,13 @@ turns off IDN support
.It Pa /etc/resolv.conf
initial domain name and name server addresses
.El
+.Sh EXIT STATUS
+.Nm
+returns with an exit status of
+.Dv 1
+if any query failed, and
+.Dv 0
+otherwise.
.Sh DIAGNOSTICS
If the lookup request was not successful, an error message is printed.
Possible errors are:
@@ -545,4 +545,4 @@ It may indicate an error in
.%D Nov 1, 1987
.Re
.Sh AUTHORS
-Andrew Cherenson
+.An Andrew Cherenson