Use standard section names, sort, use more macros.
This commit is contained in:
parent
ab16413a62
commit
2c99edc276
|
@ -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 than 256 characters.
|
|||
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 the query
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue