Re: FC7 dhcp resolv.conf

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

 



Manuel Arostegui Ramirez wrote:

> 2007/8/10, Ralph Alvy <ralph@xxxxxxxxxxxxx>:
>> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux