FC7 dhcp resolv.conf

QuackHacker at hotpop.com QuackHacker at hotpop.com
Sat Aug 11 01:39:28 UTC 2007


Ralph Alvy [ralph at ralphalvy.com] wrote:
> Manuel Arostegui Ramirez wrote:
> 
> > 2007/8/10, Ralph Alvy <ralph at ralphalvy.com>:
> >> I don't see where in Fedora Core 7 I can set dhcp to not
> >> overwrite /etc/resolv.conf. Where is the dhcp configuration file in
> >> Fedora Core 7?
> >>
> > 
> > You can also define that on your
> > /etc/sysconfig/network-scripts/ifcfg-ethX configuration file, with the
> > line:
> > PEERDNS=no
> > 
> > Manuel.
> 
> My /etc/sysconfig/network-scripts/ifcfg-eth0 looks like this:
> 
>         DEVICE=eth0
>         BOOTPROTO=dhcp
>         HWADDR=00:14:85:8C:9D:5D
>         ONBOOT=yes
>         PEERDNS=no
> 
> With that, dhcp still overwrites my /etc/resolv.conf
> 
see /etc/sysconfig/networking/default/profiles/resolv.conf




More information about the fedora-list mailing list