[64studio-devel] quick network question DNS issue

Daniel James daniel at 64studio.com
Wed May 2 10:52:44 UTC 2007


Hi Tim, hi Nate,

> You should be able to edit /etc/resolv.conf by hand, but in my case, 
> this gets overwritten every time the network gets restarted.

If dhclient is running, that's the correct behaviour. For example if you 
were a mobile user, you would want DNS settings to be updated as you 
moved between networks.

There's a long discussion of the problem in the comments section here:

http://www.debian-administration.org/articles/254

Simplest solution: in the file /etc/dhclient.conf you should see a line 
like this:

#prepend domain-name-servers 127.0.0.1;

Uncomment this line and set the IP address of your DNS, then restart 
your network. dhclient should now honour the prepend statement when it 
writes the new /etc/resolv.conf file.

Cheers!

Daniel



More information about the 64studio-devel mailing list