Simple.
Does any one of your network cards uses DHCP to get its IP address?
If it does, then the DHCP server may also change the DNS settings,
hence, the resolv.conf changes.
(My Internet connection script, also restores the old resolv.conf after
I connect to the ISP)

-- 
Take care,
Gilboa Davara
XML - Systems Israel.
mailto:[EMAIL PROTECTED]
972 - 054 968 909

On Sat, 2003-06-21 at 19:58, Amichai Rotman wrote:
> Hi Clan,
> 
> I have moved to MDK 9.1 and since then I have a weird DNS problem:
> 
> Every time I restart the network or connect to the Net (using NetVision's 
> cablestart script) the /etc/resolv.conf file gets overwritten with the 
> following contents:
> 
> # cat /etc/resolv.conf
> 
> nameserver 192.168.101.101
> 
> I then have to copy the /etc/ppp/resolv.conf to /etc and all works...
> 
> How can I find out what causes this overwrite? I looked at the logs, but found 
> nothing...
> 
> Thanks,
> 
> Amichai.
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 





=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to