From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 11:42:17 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 B3D3216A400 for ; Thu, 27 Apr 2006 11:42:17 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 311D243D49 for ; Thu, 27 Apr 2006 11:42:16 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1875186pyc for ; Thu, 27 Apr 2006 04:42:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bHz6AkoCxJne6/H0uDlWrSxlpUsuttrH20190R4yP09uNrph9UEnbZnIaALjc9+5esLnwfKNlTY5tuE6RKc4w3D3HgIaKp6cqXgVTv7ftSLkzV8FlpP2N36kyQYkCE7IUrwY1N4u03Lp9P2VlJ5Mx+JywqLkLMr40IY5E2dSYQU= Received: by 10.35.21.1 with SMTP id y1mr3515478pyi; Thu, 27 Apr 2006 04:35:34 -0700 (PDT) Received: by 10.35.12.14 with HTTP; Thu, 27 Apr 2006 04:35:34 -0700 (PDT) Message-ID: Date: Thu, 27 Apr 2006 07:35:34 -0400 From: "michael johnson" To: "Bill Moran" In-Reply-To: <20060426170530.e91ae06c.wmoran@collaborativefusion.com> MIME-Version: 1.0 References: <444FDE99.1020701@comcast.net> <20060426170530.e91ae06c.wmoran@collaborativefusion.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Telting , 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: ahze@ahze.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 11:42:17 -0000 On 4/26/06, Bill Moran wrote: > > 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. look at dhclient.conf(5) and look at the part about prepend domain-name-servers Michael -- > 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" >