Subject: Re: usepeerdns
To: Georges Heinesch <geohei-ml@geohei.lu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 05/16/2001 23: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.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--