Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 11:48:57 -0400
From:      "C J Michaels" <cjm2@27in.tv>
To:        "FreeBSD Stable" <freebsd-stable@FreeBSD.org>
Subject:   /etc/dhclient.com
Message-ID:  <DGEHIHDMIIGBKHEKEJJNAECACBAA.cjm2@27in.tv>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

I'm running FreeBSD xxxx 4.3-RC FreeBSD 4.3-RC #0: Fri Apr 13 15:42:08 EDT
2001     root@xxxx:/home/src/sys/compile/CARTMAN  i386

I have been using the same dhclient.conf for ~6 months without any trouble.
Now it appears to be ignoring it.  Specifically these two lines appear to be
ignored.

==========
        prepend domain-name-servers 127.0.0.1;
        supersede domain-name "xxxx";
==========

I've tried adding dhcp_flags="-cf /etc/dhclient.conf" and tried running the
command manually "/sbin/dhclient -cf /etc/dhclient.conf ed0".  It still
overwrote my /etc/resolv.conf with the wrong entries.

Attached is the whole script, any suggestions would be appreciated.

Thanx,
--Chris


[-- Attachment #2 --]
# $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $
#
#	This file is required by the ISC DHCP client.
#	See ``man 5 dhclient.conf'' for details.
#
#	In most cases an empty file is suffient for most people as the
#	defaults are usually fine.
#
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
dns-update off;

interface "ed0" {
	prepend domain-name-servers 127.0.0.1;
	supersede domain-name "xxxx";
	request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name;
	require subnet-mask, routers;
	script "/sbin/dhclient-script";
}

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DGEHIHDMIIGBKHEKEJJNAECACBAA.cjm2>