Matt Mossholder on 17 Jan 2008 18:48:07 -0800 |
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 address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.254 dns-nameservers 192.168.0.5 192.168.0.3 dns-search mossholder.com ======================== The last two lines are the most important.... --Matt ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|