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

Re: FC7 dhcp resolv.conf



Manuel Arostegui Ramirez wrote:

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


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