Matt Mossholder on 17 Jan 2008 18:48:07 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Can't seem to change my resolv.conf ...

On Thu, 2008-01-17 at 21:08 -0500, Mike Leone wrote:
> I'm looking to change the settings in my resolv.conf, to change my 
> nameserver list and domain name. I know that Debian now uses that 
> resolvconf stuff, so just editing /etc/resolv.conf does not make the 
> changes permanent (never understood that; why change something that 
> works so simply and easily for so many years? Anyway ...).
> So where do I change the settings? It's not 
> /etc/resolvconf/run/resolv.conf, so where is it? My /etc/hostname is 
> set; my /etc/hosts is set. Which bit am I missing?

I believe they go into /etc/network/interfaces, like such:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.

auto eth1
# The primary network interface
iface eth1 inet static


The last two lines are the most important....


Philadelphia Linux Users Group         --
Announcements -
General Discussion  --