| @@ -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 |
72 | When using the name server | | 72 | When using the name server |
73 | .Xr named 8 , | | 73 | .Xr named 8 , |
74 | or | | 74 | or |
75 | .Xr ypserv 8 , | | 75 | .Xr ypserv 8 , |
76 | this file provides a backup when the name server | | 76 | this file provides a backup when the name server |
77 | is not running. | | 77 | is not running. |
78 | For the name server, it is suggested that only a few addresses | | 78 | For the name server, it is suggested that only a few addresses |
79 | be included in this file. | | 79 | be included in this file. |
80 | These include address for the local interfaces that | | 80 | These include address for the local interfaces that |
81 | .Xr ifconfig 8 | | 81 | .Xr ifconfig 8 |
82 | needs at boot time and a few machines on the local network. | | 82 | needs at boot time and a few machines on the local network. |
83 | .Pp | | 83 | .Pp |
84 | This file may be created from the official host | | | |
85 | data base maintained at the Network Information Control | | | |
86 | Center | | | |
87 | .Pq Tn NIC , | | | |
88 | though local changes may be required | | | |
89 | to bring it up to date regarding unofficial aliases | | | |
90 | and/or unknown hosts. As the data base maintained at | | | |
91 | .Tn NIC | | | |
92 | is incomplete, use of the name server is recommended for | | | |
93 | sites on the | | | |
94 | .Tn DARPA | | | |
95 | Internet. | | | |
96 | .Pp | | | |
97 | As network addresses, both IPv4 and IPv6 addresses are allowed. | | 84 | As network addresses, both IPv4 and IPv6 addresses are allowed. |
98 | IPv4 addresses are specified in the conventional dot | | 85 | IPv4 addresses are specified in the conventional dot |
99 | .Pq Dq \&. | | 86 | .Pq Dq \&. |
100 | notation using the | | 87 | notation using the |
101 | .Xr inet_pton 3 | | 88 | .Xr inet_pton 3 |
102 | routine | | 89 | routine |
103 | from the Internet address manipulation library, | | 90 | from the Internet address manipulation library, |
104 | .Xr inet 3 . | | 91 | .Xr inet 3 . |
105 | IPv6 addresses are specified in the standard hex-and-colon notation. | | 92 | IPv6 addresses are specified in the standard hex-and-colon notation. |
106 | Host names may contain any printable | | 93 | Host names may contain any printable |
107 | character other than a field delimiter, newline, | | 94 | character other than a field delimiter, newline, |
108 | or comment character. | | 95 | or comment character. |
109 | .Sh FILES | | 96 | .Sh FILES |