From owner-freebsd-questions Sat Jan 11 8:43:52 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 275E237B401 for ; Sat, 11 Jan 2003 08:43:51 -0800 (PST) Received: from radzinschi.com (pcp02453773pcs.owngsm01.md.comcast.net [68.55.91.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D797543F18 for ; Sat, 11 Jan 2003 08:43:40 -0800 (PST) (envelope-from marco@radzinschi.com) Received: from localhost (marco@localhost.radzinschi.com [127.0.0.1]) by radzinschi.com (8.12.6/8.12.6) with ESMTP id h0BGhMrM037518; Sat, 11 Jan 2003 11:43:27 -0500 (EST) (envelope-from marco@radzinschi.com) Date: Sat, 11 Jan 2003 11:43:22 -0500 (EST) From: Marco Radzinschi To: Cc: Subject: Re: DNS and DHCPD In-Reply-To: Message-ID: <20030111113801.J37439-100000@radzinschi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 9 Jan 2003 lattera@softhome.net wrote: > 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 Forget your ISP's DNS servers and run your own. I use bind on my firewall, and have the DHCP server hand out the firewall address as the DNS server. Not what you asked originally, but it works like a charm, especially when Comcast's DNS servers suddenly stop working. Try running /usr/sbin/named to get started. Otherwise, man named. Marco Radzinschi E-Mail: marco@radzinschi.com Sat Jan 11 11:38:01 EST 2003 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message