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

Re: Problem with DNS resolving on Debian sarge



Yoav a écrit :

> 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 <http://212.150.49.10>
>nameserver 206.49.94.234 <http://206.49.94.234>
>search
>
>  
>
> but after it happens, this is how /etc/resolv.conf looks like:
>
>search
>nameserver 10.0.0.138 <http://10.0.0.138>
>
>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 <http://linuxquestions.org> but they didn't help much.
>thanks in advance...
>
You have a conflict between pppoe and dhcp. Try to configure your
network with a static adress like 10.0.0.1 in /etc/network/interface.

cu.



Reply to: