Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2001 16:24:07 -0800
From:      Will Yardley <william@hq.newdream.net>
To:        questions@freebsd.org
Subject:   resolv.conf / dhcp
Message-ID:  <3AAAC5A7.14CC3510@hq.newdream.net>

next in thread | raw e-mail | index | archive | help
a couple questions about this. 

does anyone have a simple solution to /etc/resolv.conf being overwritten
everytime the dhcp lease is renewed ?? i'm using dhclient and the dhcp
server is an obsd router / firewall

as far as i know, you can't specify the seach path with dhcpd -
information on how to do this would be even more useful.

if i just set the resolv.conf file to be immutable or something like
that would that keep it from getting overwritten?  i guess that might
generate some weird log messages every day but would be less annoying
than having to edit my resolv.conf file daily.

anyone used a simple cron job to do this?  i guess that might be the
best option - to check every 10 minutes or so and overwrite the file
with a stored copy if the two files differ????

please cc me on the response as i'm not on the list anymore for the time
being.

-will yardley

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AAAC5A7.14CC3510>