From owner-freebsd-questions@FreeBSD.ORG Thu May 4 01:02:15 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 174D316A405 for ; Thu, 4 May 2006 01:02:15 +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 4CEC243D48 for ; Thu, 4 May 2006 01:02:14 +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 <20060504010213.PGMT8718.mta9.adelphia.net@barbish>; Wed, 3 May 2006 21:02:13 -0400 From: "fbsd" To: "Murray Taylor" Date: Wed, 3 May 2006 21:02:13 -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) In-Reply-To: <04E232FDCD9FBE43857F7066CAD3C0F117C83E@svmailmel.bytecraft.internal> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Cc: freebsd-questions Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER 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, 04 May 2006 01:02:15 -0000 The script I sent are operational on FBSD 4.11 with the enter/exit-hooks scripts that are part of the base install. NB Dont forget I run the ipf firewall rewrite rules script manually as root when my IP number changes, but the DHCP -> resolv.conf is automatic via exit-hooks The scripts are always called by dhclient, what I put in them is what I attached. And I am also using Postfix ... As far as I remenber pcre is only needed by Postfix if you use pcre: regular expression type files in main.cf. If you use regexp: then pcre is not used. Murray Taylor --------------------------------------------------------------- --------------------------------------------------------------- I checked postfix main.default.cf and find no "pcre" or "regexp" options. Please explain what you are talking about. Thanks for your help