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
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.
Amitay.
On 09/08/05 11:01 -0000, vaibhav samant wrote:
Is there any simple way to forward DNS queries (recd from the desktops) to the ISP's DNS Server (allotted dynamically for every connection)?
Is there any reason for the long lines? No. You cannot just forward DNS server entries like that.
Alternately is it not possible for server (i guess squid) to do all the resolving business and let the desktop live in peace....
Google for the caching DNS server HOWTO. Then set one up on your proxy. Point all hosts at that box.
Devdas Bhagat
On Tuesday 09 August 2005 14:56, Devdas Bhagat wrote:
Google for the caching DNS server HOWTO. Then set one up on your proxy. Point all hosts at that box.
Or if all the desktops need to access the internet through the browser only then you can setup squid http proxy server. In this case you won't need to forward DNS or anything like that ;)
Advice / suggestions / pointers are welcome.
Suggestion: Please be specific of your network setup when emailing it to lists.
Pointers:
1. If your internet gateway is a NAT server, the clients individually access the DNS servers for every request; there could be some issues.
2. If your internet gateway is a proxy server, there should not be any issue with DNS servers setting on the client, since proxy server sends the request on behalf of the client.
3. Even if you switch between ISP's you dont have to change your DNS settings (on client or server). I can use Tata ISP and use DNS servers of Reliance.
Regards,
Chirag
--------------------------------- Start your day with Yahoo! - make it your home page
Hello Dinesh,
Thursday, August 11, 2005, 2:32:17 PM, you wrote:
- Even if you switch between ISP's you dont have to change your DNS settings (on client or server). I can use Tata ISP and use DNS servers of Reliance.
But that will be slow...
Slow for just the first query if you have a caching mechanism in place :)
Regards,
ah
Dinesh Joshi wrote:
- Even if you switch between ISP's you dont have to change your DNS settings (on client or server). I can use Tata ISP and use DNS servers of Reliance.
But that will be slow...
Regards Dinesh
Also, some of the ISPs disallow DNS lookup queries from IPs not lying in their IP pools. You won't be able to resolve host names in such a scenario.
- Manish
Manish Kathuria manish@tuxspace.com wrote: Dinesh Joshi wrote:
- Even if you switch between ISP's you dont have to change your DNS settings (on client or server). I can use Tata ISP and use DNS servers of Reliance.
But that will be slow...
Regards Dinesh
Also, some of the ISPs disallow DNS lookup queries from IPs not lying in their IP pools. You won't be able to resolve host names in such a scenario.
- Manish