From e213096300611ad30822d929ea3ae7eca70ed42b Mon Sep 17 00:00:00 2001 From: jmc Date: Wed, 28 Jun 2017 14:07:11 +0000 Subject: [PATCH] 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; --- usr.sbin/dhcpd/dhcpd.conf.5 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. -- 2.20.1