From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 16:48:47 2005 Return-Path: X-Original-To: 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 DA82F16A41F for ; Thu, 1 Dec 2005 16:48:47 +0000 (GMT) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C2243D49 for ; Thu, 1 Dec 2005 16:48:45 +0000 (GMT) (envelope-from doug@polands.org) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.4/8.13.4) with ESMTP id jB1Gmine007380 for ; Thu, 1 Dec 2005 10:48:45 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.215.99 (proxying for 209.103.215.99) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 1 Dec 2005 10:48:45 -0600 (CST) Message-ID: <59724.209.103.215.99.1133455725.squirrel@email.polands.org> Date: Thu, 1 Dec 2005 10:48:45 -0600 (CST) From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.87/1199/Thu Dec 1 03:39:16 2005 on corinth.polands.org X-Virus-Status: Clean Cc: Subject: dhclient.conf is being ignored 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: Thu, 01 Dec 2005 16:48:48 -0000 Hello, I'm running 6.0-STABLE and having an issue with dhclient "ignoring" dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. Here's the relevent part of rc.conf(5): # grep ifconfig /etc/rc.conf ifconfig_fxp0="DHCP" ifconfig_xl0="inet 172.16.1.1 netmask 255.255.255.0" and my dhclient.conf file: # cat /etc/dhclient.conf interface "fxp0" { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } and the last lease issued in /var/db/dhclient.leases.fxp0: lease { interface "fxp0"; fixed-address 10.0.0.100; option subnet-mask 255.255.252.0; option routers 10.0.0.1; option domain-name-servers 10.0.0.10; option domain-name "myisp.com"; option broadcast-address 255.255.255.255; option dhcp-lease-time 59594; option dhcp-message-type 5; option dhcp-server-identifier 10.42.224.1; renew 4 2005/12/1 23:29:22; rebind 5 2005/12/2 05:41:49; expire 5 2005/12/2 07:45:59; } and lastly, what I see in /etc/resolv.conf: # cat /etc/resolv.conf search myisp.com nameserver 10.0.0.10 Not sure what I'm doing wrong here. Googling provided no useful information. -- Regards, Doug