From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 12:06:22 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 81EAF16A401 for ; Thu, 27 Apr 2006 12:06:22 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB6043D46 for ; Thu, 27 Apr 2006 12:06:22 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060427120621.YDOA13882.mta9.adelphia.net@barbish>; Thu, 27 Apr 2006 08:06:21 -0400 From: "fbsd" To: , "Bill Moran" Date: Thu, 27 Apr 2006 08:06:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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: Importance: Normal 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: 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 12:06:22 -0000 I read the man dhclient.conf(5) and paid special attention to the part about prepend domain-name-servers. It does not say anything about passing the dns info dhcp client puts into resolv.conf onto the dhcpd.conf "option domain-name-servers" statement. I don't think you understood the original question. I may be wrong so please explain how dhcp client prepend domain-name-servers option effects the dhcpd config file? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of michael johnson Sent: Thursday, April 27, 2006 7:36 AM To: Bill Moran Cc: Telting; freebsd-questions@freebsd.org Subject: Re: Getting DHCP to use resolv.conf? 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" > _______________________________________________ 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"