summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-05-12 16:55:11 +0000
committerschwarze <schwarze@openbsd.org>2019-05-12 16:55:11 +0000
commit0fae9ddd3738105a19e327be50a2111a247ee96c (patch)
treef429192ed9da31178c5a43af0fb0db6294cd05f9 /share/man/man7
parentdocument log reading errors (diff)
downloadwireguard-openbsd-0fae9ddd3738105a19e327be50a2111a247ee96c.tar.xz
wireguard-openbsd-0fae9ddd3738105a19e327be50a2111a247ee96c.zip
Delete documentation of the former HOSTALIASES features
which was removed in libc/asr/asr.c rev. 1.50 in 2015. Smaller version of a patch posted by Hiltjo Posthuma <hiltjo at codemadness dot org>. No objection was raised when shown on tech@.
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/hostname.717
1 files changed, 2 insertions, 15 deletions
diff --git a/share/man/man7/hostname.7 b/share/man/man7/hostname.7
index 8cacb7f4d72..13ccd601b63 100644
--- a/share/man/man7/hostname.7
+++ b/share/man/man7/hostname.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostname.7,v 1.10 2017/05/29 12:13:50 tedu Exp $
+.\" $OpenBSD: hostname.7,v 1.11 2019/05/12 16:55:11 schwarze Exp $
.\" $NetBSD: hostname.7,v 1.4 1994/11/30 19:07:14 jtc Exp $
.\"
.\" Copyright (c) 1987, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)hostname.7 8.2 (Berkeley) 12/30/93
.\"
-.Dd $Mdocdate: May 29 2017 $
+.Dd $Mdocdate: May 12 2019 $
.Dt HOSTNAME 7
.Os
.Sh NAME
@@ -52,19 +52,6 @@ which must generally translate the name to an address for use.
Hostnames are resolved by the Internet name resolver in the following
fashion.
.Pp
-If the name consists of a single component, i.e., contains no dot,
-and if the environment variable
-.Ev HOSTALIASES
-is set to the name of a file,
-that file is searched for any string matching the input hostname.
-The file should consist of lines made up of two whitespace separated strings,
-the first of which is the hostname alias,
-and the second of which is the complete hostname
-to be substituted for that alias.
-If a case-insensitive match is found between the hostname to be resolved
-and the first field of a line in the file, the substituted name is looked
-up with no further processing.
-.Pp
If the input name ends with a trailing dot,
the trailing dot is removed,
and the remaining name is looked up with no further processing.