one simple work-around is to add yourself the correct DNS and avoid pppd to update it by commenting "usepeerdns" in adsl file
outside of that, a trace of the pppd exchange, that pppoeci can generate should be a source to analyze
best regards
Benoit (Not Papillaut)
Roberto Inzerillo wrote:
Hi,
-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di wwp
[snip]
pppd does return wrong DNS ip address. See /var/log/messages :16bit network
...
pppd[639]: local IP address 111.222.333.444 (*)
pppd[639]: remote IP address 192.168.100.1
pppd[639]: primary DNS address 195.31.88.203
pppd[639]: secondary DNS address 222.333.444.555 (*)
...
The primary DNS address is IMHO totally wrong!
My provider gives me two DNS IP, the first of which is the secondary DNS
address above, and then another one, which belongs to the same
of the primary, and does not appear in /var/log/messages.Each provider has a set of DNS addresses that CAN change. Most of them are
/etc/resolv.conf is correct and contains the two correct DNS IPs.
totally unknown from the users, and not written in the official doc. So,
expect your provider to send pppd the less-overloaded DNS IPs
when possible.
That may be a good reason to get different DNS IPs when pppd asks your
provider for them.
Well, I am used to install and configure DHCPD in medium networks for easy configuration of all the clients, so I know what you are talking about, but I never configured it in order to send unexisting DNS informations.
The IP I think is wrong does not even exist (no ping, no 'dig -x')! It seems not to be in any way related to my ISP. I tryed also Windows with this connection and this modem. Well, it's not surprising that I receive the correct couple of DNS IPs (the two I knew were the right ones) and I don't get in any way other DNS IPs, nothing in some way similar to 195.31.88.203 . In the first post I didn't wrote the real Secondary DNS IP, but be shure, the right DNS are in a totally different network!
I repeated the test several times (both with Linux and Windows). I always get one wrong DNS with Linux and two correct (always the same) DNS with Windows.
Then the question remains open. Is it my pppd working bad or is my provider sending wrong informations with dhcp? Or is it not even related to pppd and dhcp (but it seems clear that it has to be)? If it's my provider fault, how is it possible that I always get a wrong DNS if I connect with Linux only and get always right ones with Windows? My provider does not support Linux (as any other here in Italy) in any way, do I have to think that they send wrong informations to the clients connecting with Linux only (am I getting paranoid? :-) ?
Roberto
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org Archives de cette liste de diffusion: http://liste.eci.free.fr Pour se desinscrire: mailto:[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org Archives de cette liste de diffusion: http://liste.eci.free.fr Pour se desinscrire: mailto:[EMAIL PROTECTED]
