From owner-freebsd-questions Thu Jan 9 17:32: 1 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48CA037B401 for ; Thu, 9 Jan 2003 17:31:59 -0800 (PST) Received: from valiant.xo.com (valiant.xo.com [207.155.252.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C22A343E4A for ; Thu, 9 Jan 2003 17:31:58 -0800 (PST) (envelope-from fred@timogen.com) Received: from fred1 ([61.151.228.240]) by valiant.xo.com id UAA12606; Thu, 9 Jan 2003 20:31:51 -0500 (EST) [ConcentricHost SMTP Relay 1.15] Message-ID: <006c01c2b8ce$1f110ca0$a705a8c0@fred1> From: "Fred Zhang" To: Cc: References: Subject: Re: DNS and DHCPD Date: Fri, 10 Jan 2003 09:26:30 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi lattera, You may need such options in the dhcpd.conf option routers 192.168.1.99; option subnet-mask 255.255.255.0; option nis-domain "demo.com"; option domain-name "demo.com"; option domain-name-servers 10.1.1.1 In you windows client, by the commands ifconfig /all you will see the detail info. gotten from the dhcp server. Regards, Fred Zhang ----- Original Message ----- From: To: Sent: Thursday, January 09, 2003 8:13 AM Subject: DNS and DHCPD > I would like to configure my dhcpd server (isc-dhcpd3 from ports). I would > also like to have the "options domainnameservers" (or somewhat similar) to > be dynamic, as my fBSD box is my own router. (I run a local network). The > WAN side is DHCP'd, so my IP and DNS servers are set differently each time. > > I was wondering how to set the domainname servers option in my dhcpd.conf > dynamically. Like, it would get edited each time upon bootup, and before > dhcpd even loads. > > I don't know how to even start approaching this problem, except for asking > you guys. > > Thanks so much, > > lattera > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message