From owner-freebsd-questions@FreeBSD.ORG Wed Apr 26 21:05:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6770A16A402 for ; Wed, 26 Apr 2006 21:05:32 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC9043D46 for ; Wed, 26 Apr 2006 21:05:31 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) by wingspan with esmtp; Wed, 26 Apr 2006 17:05:30 -0400 id 0005641D.444FE09A.0000D10A Date: Wed, 26 Apr 2006 17:05:30 -0400 From: Bill Moran To: Telting Message-Id: <20060426170530.e91ae06c.wmoran@collaborativefusion.com> In-Reply-To: <444FDE99.1020701@comcast.net> References: <444FDE99.1020701@comcast.net> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Getting DHCP to use resolv.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:05:32 -0000 On Wed, 26 Apr 2006 13:56:57 -0700 Telting wrote: > I would like to know how I can propagate the dns servers which the dhcp > client puts in resolv.conf to dhcpd. I only see how I can only > explicitly list a domain server with "option domain-name-servers". How > do I propogate non static dns servers? Write a script to updated the dhcpd.conf file when resolv.conf changes. dhclient allows you to create hooks that automagically run a script of your choosing when a new lease is obtained. Or you could search the list archives for when this exact question was asked a few weeks ago. -- Bill Moran Collaborative Fusion Inc.