On Thu, 2006-11-30 at 18:17 +1100, Ashley wrote:
> I have changed the resolv.conf to show the main DNSs of my provider in 
> every place I can find but still I have to manually edit it each time I 
> start up and several times whilst I am on line as it changes back to the 
> address of my modem/router.
> Obviously there is something running that changes it back every few 
> minutes but I can't guess what, so I have no idea how to stop it 
> changing in Ubuntu.

Your DHCP client. By default, one of the options it requests from the
server is DNS settings for the network. And when the client renews its
lease, it overwrites resolv.conf with the settings it gets.

I don't have an ubuntu box handy, but from memory you need to look
at /etc/dhcp/dhclient.conf . The dhclient.conf man page has a good
description of options.

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to