A sledgehammer approach to make it work:
Comment out the following lines from /sbin/dhclient-script
make_resolv_conf() {
if [ x$new_domain_name_servers != x ]; then
if [ x$new_domain_name != x ]; then
echo search $new_domain_name /etc/resolv.conf
else
rm /etc/resolv.conf
You can use the prepend statement in your dhclient.conf file. That way you
can put your server first and leave the others in there for backup.
Here's the line you need to add
prepend domain-name-servers dns server ip;
- Original Message -
From: Laszlo Vagner [EMAIL PROTECTED]
To:
T Kellers [EMAIL PROTECTED] writes:
A sledgehammer approach to make it work:
Comment out the following lines from /sbin/dhclient-script
make_resolv_conf() {
if [ x$new_domain_name_servers != x ]; then
if [ x$new_domain_name != x ]; then
echo search $new_domain_name
I am using DHCP on a cable modem and my
providers nameserver really sucks
but changing my resolv.conf repairs
the lookups for a little while then it gets
set back to them upon bootup.
how do i make it stay the way i set it.
Maybe this info from man dhclient.conf will be helpful?
The
On Friday 30 May 2003 01:09 pm, Laszlo Vagner wrote:
I am using DHCP on a cable modem and my
providers nameserver really sucks
but changing my resolv.conf repairs
the lookups for a little while then it gets
set back to them upon bootup.
how do i make it stay the way i set it.
IMHO all the
- Original Message -
From: Laszlo Vagner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:09 PM
Subject: how to stop resolv.conf from being updated
I am using DHCP on a cable modem and my
providers nameserver really sucks
but changing my resolv.conf repairs
the