/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Dick Treumann wrote:

> I use my Linux box (RH 6.2) to connect to two different ISPs (one a
> company intranet)  The name servers available from one are not reachable
> from the other.  I would like to be able to tell all my internal network
> machines to use the Linux gateway as the name server. The Linux gateway
> would need to query the proper external name server based on which ISP
> is being used. The internal client would be sent back the answer as if
> the Linux box was the name server.
> 
> The correct name server addresses are in /etc/resolv.conf when either
> provider is connected.
> 
> Can I do this?   It seems like it should not be too tough but I have not
> found any guidance so far.

yes. set up different bind configurations for each isp.
switch between them in /etc/ppp/ip-up* when connecting.
you won't need to change /etc/resolv.conf because it
should always point to the dns server on the localhost.
you can also have separate firewall configurations and
switch them at the same time.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to