![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Squid dns | beardiebeardie | UNIX for Dummies Questions & Answers | 1 | 02-25-2008 12:19 AM |
| squid anonymizer | globalvpn | Shell Programming and Scripting | 0 | 02-09-2008 06:20 AM |
| USN-565-1: Squid vulnerability | iBot | Security Advisories (RSS) | 0 | 01-09-2008 04:00 PM |
| Squid 2.6STABLE1 and IE6 SP2 | deckard | Linux | 2 | 07-27-2006 01:42 PM |
| Problem with SQUID | chanfle | Linux | 1 | 05-03-2006 09:37 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Squid+DNS
Dear All
I have Squid 2.6 running on RHEL4. Actually we have our companys portal and Sun communication suit for Mail Service. Squid uses live DNS for resolving sites. I want to resolve Intranet address without by passing the proxy in the browser. I mean every user have to by pass proxy in the browser to open the company's e.g mail.abc.com. I need to know how our users can resolve local address with out by passing the proxy. Is it possible with Squid or Linux IPtables. Any assistance will by highly appreciable. Regards Iftikhar |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Here's what i would do, not sure if it will do the trick though - in your /etc/nsswitch.conf at the line beginning with hosts: put "files" before the word dns if its not already there - add all your intranet addresses in /etc/hosts You may need to restart squid, hope this helps ... |
|
#3
|
|||
|
|||
|
Why don't you add the internal domain to your dns. Seems the easiest solution.
|
|
#4
|
||||
|
||||
|
You could just use a proxy auto configuration file then the browser would just load the configuration once on load and use the proxy for external and you could use direct connection for internal stuff.
|
|
#5
|
|||
|
|||
|
Local address resolution with Linus + Squid
Quote:
this trick didnt work my problem is still there. Actually we have a windows based DNS. Squid uses DNS of ISP from where we r getting internet service. Can it be done through IPtables bcz our mail service uses port 8843. I ill b waiting for ur reply Regards |
|
#6
|
|||
|
|||
|
Quote:
my problem is solved the trick told by andryk worked very well. i changed "nsswitch.conf" file, entered local addresses in the /etc/hosts file and also uncommented "hosts_file /etc/hosts" entry in the Squid. Thnx all of u for ur cooperation |
|
#7
|
||||
|
||||
|
Glad to hear that.
|
||||
| Google The UNIX and Linux Forums |