From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 10 20:50:01 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F61B16A419 for ; Fri, 10 Aug 2007 20:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6297013C45E for ; Fri, 10 Aug 2007 20:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7AKo1OT042336 for ; Fri, 10 Aug 2007 20:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7AKo1CG042335; Fri, 10 Aug 2007 20:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 10 Aug 2007 20:50:01 GMT Resent-Message-Id: <200708102050.l7AKo1CG042335@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pete French Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B14B16A417 for ; Fri, 10 Aug 2007 20:40:07 +0000 (UTC) (envelope-from pete@twisted.org.uk) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id E1A2113C48E for ; Fri, 10 Aug 2007 20:40:06 +0000 (UTC) (envelope-from pete@twisted.org.uk) Received: from [172.23.170.146] (helo=anti-virus03-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1IJHak-0002q8-HR for FreeBSD-gnats-submit@freebsd.org; Fri, 10 Aug 2007 00:38:58 +0100 Received: from [82.35.233.111] (helo=skerry.twisted.org.uk) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1IJHak-00011J-2t for FreeBSD-gnats-submit@freebsd.org; Fri, 10 Aug 2007 00:38:58 +0100 Received: from pete by skerry.twisted.org.uk with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IJHaj-00072l-TD for FreeBSD-gnats-submit@freebsd.org; Fri, 10 Aug 2007 00:38:57 +0100 Message-Id: Date: Fri, 10 Aug 2007 00:38:57 +0100 From: Pete French To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/115402: dhclient ignores named config when interface goes down and up X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pete French List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 20:50:01 -0000 >Number: 115402 >Category: misc >Synopsis: dhclient ignores named config when interface goes down and up >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 10 20:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Pete French >Release: FreeBSD 6.2-STABLE amd64 >Organization: >Environment: System: FreeBSD skerry.drayhouse 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Aug 4 17:08:13 BST 2007 pete@skerry.drayhouse:/usr/obj/usr/src/sys/SKERRY amd64 twin opteron 242's, 2 gig of RAM, 3x bge, 1 x fxp >Description: I run a local nameserver and my dhclient.conf therefore looks like this: "supersede domain-name-servers 127.0.0.1;" this works fine when the interface comes up, but if it goes down and up for any reason (cable unpligs, of taking down with ifconfig) then the line is ignored and the name servers from dhcp are placed into resolv.conf instead. >How-To-Repeat: setup an dhcp client with a local nameserver as described above check in resolv.conf that 127.0.0.1 is being used as the nameserver ifconfig down ifconfig up check in resolv.conf and the nameserver will have been replaced >Fix: >Release-Note: >Audit-Trail: >Unformatted: