misc/115402: dhclient ignores named config when interface goes down and up

Pete French pete at twisted.org.uk
Fri Aug 10 13:50:01 PDT 2007


>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 at 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:


More information about the freebsd-bugs mailing list