Subject: Re: resolv.conf and multiple ISPs and nameservers
To: None <>
From: Simon Burge <>
List: tech-userlevel
Date: 01/13/2000 15:21:53
"Brian C. Grayson" wrote:

>   I have two different dialup ISPs that I use (work and
> not-work).  The work one is firewall-contained, so I need to
> use the work DNS server when I dial in to there.  When I dial
> up into not-work, obviously it can't use the nameserver behind
> the work firewall.

If you're using PPP, wouldn't it be easier to get the ip-up script to
set up a relevent resolve.conf?

>   Would there be any objections to hacks so that once a
> nameserver timed out, and another was successfully reached,
> that future processes would start off using the known-good
> server at first?  I have one solution in mind, but if this
> violates some standards or something, then it isn't worth further
> discussion.  :)

If you go down this path, maybe this is better done in the nameserver,
and have localhost in resolv.conf.  Otherwise every process would need
to determine which resolver worked...