From: jmc Date: Wed, 28 Jun 2017 14:07:11 +0000 (+0000) Subject: remove a contradictory sentence (see dhcp-options(5)) which claims X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e213096300611ad30822d929ea3ae7eca70ed42b;p=openbsd remove a contradictory sentence (see dhcp-options(5)) which claims hostnames which resolve to muliple ip addresses are all forwarded to the client; issue reported by edgar pettijohn; discussed with dhcpd's de facto maintainer, kenneth westerback; --- diff --git a/usr.sbin/dhcpd/dhcpd.conf.5 b/usr.sbin/dhcpd/dhcpd.conf.5 index e706a5721cf..c2f7d2483da 100644 --- a/usr.sbin/dhcpd/dhcpd.conf.5 +++ b/usr.sbin/dhcpd/dhcpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dhcpd.conf.5,v 1.21 2017/04/26 21:07:21 jmc Exp $ +.\" $OpenBSD: dhcpd.conf.5,v 1.22 2017/06/28 14:07:11 jmc Exp $ .\" .\" Copyright (c) 1995, 1996, 1997, 1998, 1998, 1999 .\" The Internet Software Consortium. All rights reserved. @@ -36,7 +36,7 @@ .\" see ``http://www.isc.org/isc''. To learn more about Vixie .\" Enterprises, see ``http://www.vix.com''. .\" -.Dd $Mdocdate: April 26 2017 $ +.Dd $Mdocdate: June 28 2017 $ .Dt DHCPD.CONF 5 .Os .Sh NAME @@ -220,9 +220,6 @@ option domain-name-servers ns1.isc.org, ns2.isc.org; .Pp As you can see in Example 2, it's legal to specify host addresses in parameters as hostnames rather than as numeric IP addresses. -If a given hostname resolves to more than one IP address (for example, if -that host has two Ethernet interfaces), both addresses are supplied to -the client. .Pp In Example 1, you can see that both the shared-network statement and the subnet statements can have parameters.