Subject: Re: usepeerdns
To: None <netbsd-users@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: netbsd-users
Date: 05/18/2001 00:45:52
Quoting Manuel Bouyer (16-May-01 22:16:23):

> On Wed, May 16, 2001 at 06:19:02PM +0100, Georges Heinesch wrote:
>> Hi.
>> 
>> The usepeerdns option queries the remote peer during dialup if
>> there are any DNS servers. Until now, I thought, that if the remote
>> peer gives out the DNS servers, that those are used automatically.
>> 
>> Tests revealed that this is apparantly not the case. The problem
>> comes when using multiple providers.
>> 
>> How can I tell pppd to use the DNS Servers which are negiciated
>> during initial dialup (provided the peer gives out the DNS servers,
>> which is not always the case)?

> Not easy;I don't think our pppd can get this info.
> However; I use xisp as front-end to pppd, and it can automatically
> add/remove entries from /etc/resolv.conf, based on the isp you're
> using.

BTW, I found on the NetBSD pages help links. However most of them are
broken. There's one which seems to match exactly (something like
"using PPP with multiple ISPs").

-- 
Cu  Georges Heinesch, Luxembourg
    geohei@geohei.lu
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... N49.34.09 E006.09.01