From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 11:32:06 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 6685716A41A for ; Thu, 27 Apr 2006 11:32:06 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDD9943D49 for ; Thu, 27 Apr 2006 11:31:59 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060427113158.IKLT14145.mta10.adelphia.net@barbish>; Thu, 27 Apr 2006 07:31:58 -0400 From: "fbsd" To: "Bill Moran" , "Telting" Date: Thu, 27 Apr 2006 07:31:53 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 In-Reply-To: <20060426170530.e91ae06c.wmoran@collaborativefusion.com> Importance: Normal 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 Reply-To: fbsd@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 11:32:06 -0000 Does anyone have a script that does this, that they can share? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Bill Moran Sent: Wednesday, April 26, 2006 5:06 PM To: Telting Cc: freebsd-questions@freebsd.org Subject: Re: Getting DHCP to use resolv.conf? 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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"