Edel SM wrote:
It seems /etc/resolv.conf is overwritten whenever I connect to the 
Internet (the server acts as our Internet gateway). is this normal? As far 
as I know, I shouldn't have to enter the localhost's IP in 
/etc/resolv.conf since the system should default to the localhost in the 
absence of any nameserver entries.

    

if you are accessing internet via ppp link, the script /etc/ppp/ip-up
(or ip-up.local) _might_ be causing this. your pppd assumes your
remote/peer dns as your nameserver, overwriting /etc/resolv.conf.


  
/etc/ppp/ip-up does call   /etc/sysconfig/network-scripts/ifup-post which replaces /etc/resolv.conf.  But, normally, hosts on the local network can find each other even after the local network is connected to another network.  Local traffic should not go through the ppp device.   Conversely, a non-local domain name should be referred to the outside DNS via the ppp gate. A misconfiguration?  Did you check using /sbin/ifconfig?


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to