Date: Fri, 10 Aug 2007 00:38:57 +0100 From: Pete French <pete@twisted.org.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/115402: dhclient ignores named config when interface goes down and up Message-ID: <E1IJHaj-00072l-TD@skerry.twisted.org.uk> Resent-Message-ID: <200708102050.l7AKo1CG042335@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <interface> down ifconfig <interface> up check in resolv.conf and the nameserver will have been replaced >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1IJHaj-00072l-TD>