f9 resetting dns nameservers

Dan Williams dcbw at redhat.com
Wed Apr 2 12:02:33 UTC 2008


On Tue, 2008-04-01 at 17:21 -0500, Xavier Toth wrote:
> Installing the 3521 version and editing ifcfg-eth0 didn't do it for
> me. I turned off NetworkManager :( at least now I don't have to
> reconfigure DNS after reboot.

Can you keep NM off, but do the following and report the output (as
root):

/usr/sbin/nm-system-settings --plugins=ifcfg-fedora

Thanks,
Dan

> On Tue, Apr 1, 2008 at 4:15 PM, Dan Williams <dcbw at redhat.com> wrote:
> > On Tue, 2008-04-01 at 16:11 -0500, Xavier Toth wrote:
> >  > Where does it look for the ifcfg file?
> >
> >  Versions >= svn3476 look in:
> >
> >  /etc/sysconfig/network-scripts/
> >
> >  and will pick up any file that starts with "ifcfg-" and does _not_ end
> >  with any of: .bak, ~, .orig, .rej
> >
> >  This is the same place that ifup/ifdown look for ifcfg files.
> >
> >  Dan
> >
> >
> >
> >  > On Tue, Apr 1, 2008 at 11:54 AM, Dan Williams <dcbw at redhat.com> wrote:
> >  > > On Tue, 2008-04-01 at 18:42 +0200, Optimization Kit wrote:
> >  > >  > Hi,
> >  > >  >
> >  > >  > On 01/04/2008, Xavier Toth <txtoth at gmail.com> wrote:
> >  > >  > > I initially install with dhcp configured but then reconfigured for a
> >  > >  > >  static ip. Now every time I reboot my resolv.conf is overwritten.
> >  > >  >
> >  > >  > I've got the same problem with NetworkManager.
> >  > >  >
> >  > >  > cat /etc/resolv.conf
> >  > >  > # generated by NetworkManager, do not edit!
> >  > >  >
> >  > >  > nameserver 160.195.151.8
> >  > >  >
> >  > >  > This really sucks.
> >  > >  >
> >  > >  > >  Who's doing this and how can I stop it?
> >  > >  >
> >  > >  > I don't know.
> >  > >
> >  > >  Update to the latest rawhide version of NetworkManager (svn3521), which
> >  > >  fixes the location that it reads your ifcfg files from (that anaconda
> >  > >  wrote on startup).
> >  > >
> >  > >  Then add the options DNS1, DNS2, and maybe DNS3 to your ifcfg file, and
> >  > >  NM will bring up your static connection correctly and use your DNS
> >  > >  servers.
> >  > >
> >  > >  Dan
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >  --
> >  > >  fedora-devel-list mailing list
> >  > >  fedora-devel-list at redhat.com
> >  > >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >  > >
> >  >
> >
> >  --
> >
> >
> > fedora-devel-list mailing list
> >  fedora-devel-list at redhat.com
> >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >
> 




More information about the fedora-devel-list mailing list