Subject: bin/4973: dhclient nukes resolv.conf
To: None <>
From: Hubert Feyrer <>
List: netbsd-bugs
Date: 02/11/1998 09:07:54
>Number:         4973
>Category:       bin
>Synopsis:       dhclient nukes resolv.conf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 11 00:05:00 1998
>Originator:     Hubert Feyrer
Hubert Feyrer <>
>Release:        1.3/i386
System: NetBSD jabberwocky 1.3 NetBSD 1.3 (JABBERWOCKY) #1: Mon Jan 12 08:30:12 MET 1998 feyrer@jabberwocky:/usr/src/sys/arch/i386/compile/JABBERWOCKY i386

	When running dhclient, it overwrites /etc/resolv.conf without
	backing it up somewhere. This can be a bit annoying when one
	still needs that file for later use. :)

	Get some DHCP server, touch /etc/dhclient.conf, boot to
	single user mode, "dhclient ep0" (in my case), then look at

	Backup /etc/resolv.conf (only if a backup doesn't already exist, 
	so it doesn't get overwritten by a dhclient-generated one).