Fri Mar 12 10:00:32 2021 UTC ()
Retire the paragraph from 1983 that says this file can be "created
from the official host data base maintained at the Network Information
Control Center (NIC)".  Suggested by Henry Bent.


(uwe)
diff -r1.13 -r1.14 src/share/man/man5/hosts.5

cvs diff -r1.13 -r1.14 src/share/man/man5/hosts.5 (expand / switch to unified diff)

--- src/share/man/man5/hosts.5 2003/08/07 10:31:17 1.13
+++ src/share/man/man5/hosts.5 2021/03/12 10:00:32 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: hosts.5,v 1.13 2003/08/07 10:31:17 agc Exp $ 1.\" $NetBSD: hosts.5,v 1.14 2021/03/12 10:00:32 uwe Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors 14.\" 3. Neither the name of the University nor the names of its contributors
@@ -71,39 +71,26 @@ not interpreted by routines which search @@ -71,39 +71,26 @@ not interpreted by routines which search
71.Pp 71.Pp
72When using the name server 72When using the name server
73.Xr named 8 , 73.Xr named 8 ,
74or 74or
75.Xr ypserv 8 , 75.Xr ypserv 8 ,
76this file provides a backup when the name server 76this file provides a backup when the name server
77is not running. 77is not running.
78For the name server, it is suggested that only a few addresses 78For the name server, it is suggested that only a few addresses
79be included in this file. 79be included in this file.
80These include address for the local interfaces that 80These include address for the local interfaces that
81.Xr ifconfig 8 81.Xr ifconfig 8
82needs at boot time and a few machines on the local network. 82needs at boot time and a few machines on the local network.
83.Pp 83.Pp
84This file may be created from the official host 
85data base maintained at the Network Information Control 
86Center 
87.Pq Tn NIC , 
88though local changes may be required 
89to bring it up to date regarding unofficial aliases 
90and/or unknown hosts. As the data base maintained at 
91.Tn NIC 
92is incomplete, use of the name server is recommended for 
93sites on the 
94.Tn DARPA 
95Internet. 
96.Pp 
97As network addresses, both IPv4 and IPv6 addresses are allowed. 84As network addresses, both IPv4 and IPv6 addresses are allowed.
98IPv4 addresses are specified in the conventional dot 85IPv4 addresses are specified in the conventional dot
99.Pq Dq \&. 86.Pq Dq \&.
100notation using the 87notation using the
101.Xr inet_pton 3 88.Xr inet_pton 3
102routine 89routine
103from the Internet address manipulation library, 90from the Internet address manipulation library,
104.Xr inet 3 . 91.Xr inet 3 .
105IPv6 addresses are specified in the standard hex-and-colon notation. 92IPv6 addresses are specified in the standard hex-and-colon notation.
106Host names may contain any printable 93Host names may contain any printable
107character other than a field delimiter, newline, 94character other than a field delimiter, newline,
108or comment character. 95or comment character.
109.Sh FILES 96.Sh FILES