-.\" $OpenBSD: inetd.8,v 1.38 2015/09/10 15:16:44 schwarze Exp $
+.\" $OpenBSD: inetd.8,v 1.39 2015/10/18 15:28:03 deraadt Exp $
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: October 18 2015 $
.Dt INETD 8
.Os
.Sh NAME
addresses in dotted-quad notation can be used as well as symbolic
hostnames.
Symbolic hostnames are looked up using
-.Fn gethostbyname .
+.Fn getaddrinfo .
If a hostname has multiple address mappings, inetd creates a socket
to listen on each address.
.Pp