diff options
Diffstat (limited to 'share/man/man5/hosts.5')
-rw-r--r-- | share/man/man5/hosts.5 | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/share/man/man5/hosts.5 b/share/man/man5/hosts.5 index b6bcd4b523e..5247c87a80e 100644 --- a/share/man/man5/hosts.5 +++ b/share/man/man5/hosts.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts.5,v 1.9 2000/03/19 19:25:29 aaron Exp $ +.\" $OpenBSD: hosts.5,v 1.10 2000/10/26 00:37:04 aaron Exp $ .\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -39,27 +39,23 @@ .Os .Sh NAME .Nm hosts -.Nd host name data base +.Nd host name database .Sh DESCRIPTION The .Nm -file contains information regarding -the known hosts on the network. -For each host a single line should be present -with the following information: +file contains information regarding the known hosts on the network. +For each host, a single line should be present with the following information: .Bd -unfilled -offset indent Internet address Official host name Aliases .Ed .Pp -Items are separated by any number of blanks and/or -tab characters. +Items are separated by any number of blanks and/or tab characters. A .Ql # -indicates the beginning of -a comment; characters up to the end of the line are -not interpreted by routines which search the file. +indicates the beginning of a comment; characters up to the end of the line +are not interpreted by routines which search the file. .Pp The system configuration file .Xr resolv.conf 5 @@ -74,25 +70,21 @@ database. .Pp When using the name server .Xr named 8 , -this file provides a backup when the name server -is not running. +this file provides a backup when the name server is not running. For the name server, it is suggested that only a few addresses be included in this file. These include addresses for the local interfaces that .Xr ifconfig 8 needs at boot time and a few machines on the local network. .Pp -This file may be created from the official host -data base maintained at the Network Information Control -Center +This file may be created from the official host database maintained at the +Network Information Control Center .Pq Tn NIC , -though local changes may be required -to bring it up to date regarding unofficial aliases -and/or unknown hosts. -As the data base maintained at +though local changes may be required to bring it up to date regarding +unofficial aliases and/or unknown hosts. +As the database maintained at .Tn NIC -is incomplete, use of the name server is recommended for -sites on the +is incomplete, use of the name server is recommended for sites on the .Tn DARPA Internet. .Pp @@ -100,12 +92,10 @@ Network addresses are specified in the conventional Internet .Dq \&. (dot) notation using the .Xr inet_addr 3 -routine -from the Internet address manipulation library, +routine from the Internet address manipulation library, .Xr inet 3 . -Host names may contain any printable -character other than a field delimiter, newline, -or comment character. +Host names may contain any printable character other than a field delimiter, +newline, or comment character. .Sh FILES .Bl -tag -width /etc/hosts -compact .It Pa /etc/hosts |