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

Re: Problem with DNS resolving on Debian sarge



On Fri, Oct 21, 2005 at 01:27:02PM +0200, Yoav wrote:
> Hi... I'm having a problem with my connection (PPPoE) on a fresh Debian 3.1
> sarge installation.
> Just after boot time everything is OK, I can access any working site including
> this one.
> but after some time (a few hours probably) there seems to be a problem with DNS
> resolving - It just doesn't work, and I have to access sites by their IP (which
> is a real pain), and even then It works very slowly.
> Till now I was using CRUX 2.1, and with the rp-pppoe package, everything worked
> ok - I did `pppoe-setup` or whatever that was, then `pppoe-start` and it worked
> without any problems.
> now, in Debian there seems to be some implementation of rp-pppoe (I think...
> correct me if I'm wrong), but it isn't quite the same. I did the configuration
> with pppoeconf, and chose all the default answers, including "Yes" to whether
> I'm willing to automatically get primary & secondary DNS IP's.
> I've noticed that when it happens, the /etc/resolv.conf file is changed.
> when everything is ok, /etc/resolv.conf looks like this:
> 
> 
> nameserver 212.150.49.10
> nameserver 206.49.94.234
> search
> 
> 
> but after it happens, this is how /etc/resolv.conf looks like:
> 
> 
> search
> nameserver 10.0.0.138
yeah,i met this several days ago.
i just thought it was somebody opened a DNS server @ that ip address.

> 
> so, something changes the /etc/resolv.conf file. but I don't know what is it. or why it happens.
> 
> can anyone help? I tried at linuxquestions.org but they didn't help much.
you can just kill dhclient and set /etc/resolv.conf manually.

> thanks in advance...
> 

-- 
msn: swhe@msn.com
如果敌人让你生气,那说明你还没有胜他的把握
如果朋友让你生气,那说明你仍然在意他的友情



Reply to: