Matt Mossholder on 17 Jan 2008 19:12:10 -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:53 -0500, Michael Leone wrote:
> On 1/17/08, Matt Mossholder <matt@mossholder.com> wrote:
> > 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
> 
> I don't have dns info in that file. Never did ...
> 
> auto eth0
> iface eth0 inet static
>         address 10.0.0.20
>         netmask 255.255.255.0
>         broadcast 10.0.0.255
>         gateway 10.0.0.2

Not saying you did... saying you need them :) That is where resolvconf
looks for the DNS servers. It is set that way so that you can have
different DNS servers for different mappings of the ethernet interface
(e.g. eth0-home, eth0-office, etc.).


		--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