On Tue, 09 Aug 2005 Amitay Isaacs wrote :
>On Tue, 2005-08-09 at 11:01 +0000, vaibhav samant wrote:
> > Hello,
> >
> > I have setup a Linux proxy on FC2 with wvdial for internet connection over modem. I have about 5 differenet ISP dialup accounts & depending on connectivity, I keep juggling between the ISPs.
> >
> > The problem is, whenever I swicth the ISP, I have to change the DSN IPs on the desktop too.
> >
> > If I put my Proxy Server's IP address as the DNS on the desktop, then I will not have to keep changing the DNS values on the desktop.
> >
> > Is there any simple way to forward DNS queries (recd from the desktops) to the ISP's DNS Server (allotted dynamically for every connection)?
> >
> > Alternately is it not possible for server (i guess squid) to do all the resolving business and let the desktop live in peace....
> >
> > Advice / suggestions / pointers are welcome.
> >
> > Vai
>
>Most ISPs configure to send the DNS server information when you dial-up.
>PPP supports dynamically updating /etc/resolv.conf with the information
>received from ISP. I think the option is called "Auto DNS" in wvdial.
>Make sure it is on.
-------------
In my case the DNS entries are dynamically recd from the ISP and are available in /var/run/ppp/resolv.conf.
But how will the desktops get this entry. I have the problem on the desktop side....
I am sure of one thing, the DNS Server IP on the desktop has to be the one of my Proxy Server.
So the next question is, which / how to run a small DNS server / DNS proxy Server, which will fwd all DNS request recd from desktops to the ISP's DNS server, and feed the reply back to the desktops....
Thx.
Vai