On Mon, 5 Jul 1999, Tadeusz Bak wrote: > On 2 Jul 1999, John Hasler wrote: > > > features, including modem detection, support for seperate nameservers for > > each provider, and support for dynamic dns. I would particularly like to > > Could you explain me please how can I configure separate nameservers for > different providers? I'm running Debian 2.1 and have accounts at two > different ISPs. In my /etc/resolv.conf there are IP addresses for both > nameservers but (if I understand it correctly) only first of them is used > (unless it is down) when I'm calling both ISPs. > Thanks!
The new pppconfig beta lets you specify the nameservers for each IP, and uses scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d to write the correct data to /etc/resolv.conf when the connection is made and to restore it when the connection is taken down. There's also an /etc/init.d script to run the ip-down.d script on boot, in case there was a crash, to restore resolv.conf to a sane state. Unfortunately, the beta depends on ppp >=2.3.7, and slink only has 2.3.5, so you can't install this without building the ppp package from source (or going to unstable, but that's probably a Bad Idea).

