summaryrefslogtreecommitdiffstats
path: root/man5/hosts.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/hosts.5')
-rw-r--r--man5/hosts.514
1 files changed, 7 insertions, 7 deletions
diff --git a/man5/hosts.5 b/man5/hosts.5
index 7e17814..b01c346 100644
--- a/man5/hosts.5
+++ b/man5/hosts.5
@@ -5,7 +5,7 @@
.\" Minor polishing, aeb
.\" Modified, 2002-06-16, Mike Coleman
.\"
-.TH hosts 5 2023-05-03 "Linux man-pages 6.05.01"
+.TH hosts 5 2023-10-31 "Linux man-pages 6.7"
.SH NAME
hosts \- static table lookup for hostnames
.SH SYNOPSIS
@@ -21,10 +21,10 @@ with hostnames, one line per IP address.
For each host a single
line should be present with the following information:
.RS
-.PP
+.P
IP_address canonical_hostname [aliases...]
.RE
-.PP
+.P
The IP address can conform to either IPv4 or IPv6.
Fields of the entry are separated by any number of blanks and/or
tab characters.
@@ -39,7 +39,7 @@ shorter hostnames, or generic hostnames (for example,
.IR localhost ).
If required, a host may have two separate entries in this file;
one for each version of the Internet Protocol (IPv4 and IPv6).
-.PP
+.P
The Berkeley Internet Name Domain (BIND) Server implements the
Internet name server for UNIX systems.
It augments or replaces the
@@ -47,7 +47,7 @@ It augments or replaces the
file or hostname lookup, and frees a host from relying on
.I /etc/hosts
being up to date and complete.
-.PP
+.P
In modern systems, even though the host table has been superseded by
DNS, it is still widely used for:
.TP
@@ -77,7 +77,7 @@ except in cases where the file is cached by applications.
.SS Historical notes
RFC\ 952 gave the original format for the host table, though it has
since changed.
-.PP
+.P
Before the advent of DNS, the host table was the only way of resolving
hostnames on the fledgling Internet.
Indeed, this file could be
@@ -115,7 +115,7 @@ ff02::2 ip6\-allrouters
.BR resolver (5),
.BR hostname (7),
.BR named (8)
-.PP
+.P
Internet RFC\ 952
.\" .SH AUTHOR
.\" This manual page was written by Manoj Srivastava <srivasta@debian.org>,