Mike Adolf wrote:
> On Tuesday 23 August 2005 12:44 am, YankDownUnder wrote:
> 
>>On Tue, 23 Aug 2005 12:27, Mike Adolf tapped out:
>>
>>>I tried as you suggested, but there must be a setting somewhere other
>>>then resolv.conf.  After restarting the network, resolv.conf gets set
>>>back to its original content??
>>>
>>>Mike
>>
>>Mate - either in the /etc/sysconfig/network or
>>the /etc/sysconfig/network-scripts/ifcfg-eth0 there should be a setting
>>that says like "PEERDNS=whatever" - delete that from that file, re-edit
>>your /etc/resolv.conf and then restart the network again. THAT should do
>>the trick mate.
> 
> 
> 
> I don't see PEERDNS in those files.  This is what I have:
> 
> ifcfg-etho-----------
> DEVICE=eth0
> BOOTPROTO=dhcp
> ONBOOT=yes
> METRIC=10
> 
> network-------------
> HOSTNAME=mlnx
> NETWORKING=yes
> GATEWAY=  (ip of my router)
> 
> Thanks, Mike
> 
If you do not have PEERDNS=no, the default is for it to be enabled. This
is because most people need it. You can add it to ifcfg-eth0, or you can
use MCC, pick "Reconfigure a network interface" from the "Network and
Internet" tab. Select eth0, and uncheck the "Get DNS servers from DHCP" box.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to