summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-01-29 10:03:45 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-01-29 10:03:45 +0000
commite71ec470e816ae6d0423c8dd251e77ee1852a24b (patch)
tree459ae3cea4685e6e6aca975275682014e056552c /share
parenta6b20136cad33137f219cd0a63a37a1ad946a890 (diff)
hosts files may contain ipv6 addresses too; update proposed by
Bruce Cran in freebsd pr docs/120024; ok claudio
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/hosts.514
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man5/hosts.5 b/share/man/man5/hosts.5
index 483763e6ca5..c1205501752 100644
--- a/share/man/man5/hosts.5
+++ b/share/man/man5/hosts.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hosts.5,v 1.17 2007/05/31 19:19:58 jmc Exp $
+.\" $OpenBSD: hosts.5,v 1.18 2008/01/29 10:03:44 jmc Exp $
.\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 29 2008 $
.Dt HOSTS 5
.Os
.Sh NAME
@@ -84,11 +84,10 @@ is incomplete, use of the name server is recommended for sites on the
.Tn DARPA
Internet.
.Pp
-Network addresses are specified in the conventional Internet
-.Dq \&.
-(dot) notation using the
-.Xr inet_addr 3
-routine from the Internet address manipulation library,
+Internet addresses are specified using either
+dot notation (IPv4)
+or colon separated notation (IPv6).
+Further information on network addressing is contained in
.Xr inet 3 .
Host names may contain any printable character other than a field delimiter,
newline, or comment character.
@@ -100,6 +99,7 @@ newline, or comment character.
.Xr getaddrinfo 3 ,
.Xr gethostbyname 3 ,
.Xr getnameinfo 3 ,
+.Xr inet 3 ,
.Xr resolv.conf 5 ,
.Xr ifconfig 8 ,
.Xr named 8