06-02-2008
Quote:
Originally Posted by
surfer24
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
Hi,
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 ...
10 More Discussions You Might Find Interesting
1. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys
I have a squid proxy server.
I have some settings in the no proxy for exclusions on 700 client machines using firefox. I need to add to this exclusion but instead of changing 700 machines settings, is there anyway you can allow the squid server to handle this. I have gone into the... (1 Reply)
Discussion started by: beardiebeardie
1 Replies
3. UNIX for Advanced & Expert Users
Hi all ,
i m getting below error in access.log while running skype application on linux.
Proxy packages : Squid redirected through SquidGuard with LDAP auth.
system : Ubuntu 6.06
Firewall : pf
227032649.603 0 system_IP_add TCP_DENIED/407 1802 GET... (0 Replies)
Discussion started by: jagnikam
0 Replies
4. Web Development
Hi,
Previously I was using squid-2.5 accelerated but due to link breaking issue, I have upgraded it to 2.6 but i am unable to configure it with accelerated support. Kindly help me to make it accelerated proxy server.
My 2.6 squid.conf :
##################################################... (0 Replies)
Discussion started by: jagnikam
0 Replies
5. Linux
hi, i installed fedora core 12, and i installed squid v 3, i need to know how can i cache everything. anyone can help me please (1 Reply)
Discussion started by: zazoo
1 Replies
6. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
7. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
8. Red Hat
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies
9. IP Networking
Hello,
I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine.
I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
squid(8) System Manager's Manual squid(8)
NAME
squid - proxy caching server
SYNOPSIS
squid [ -dhisrvzCDFNRVYX ] [ -l facility ] [ -f config-file ] [ -[ au ] port ] [ -k signal ] [ -n service-name ] [ -O cmd-line ]
DESCRIPTION
squid is a high-performance proxy caching server for web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional
caching software, squid handles all requests in a single, non-blocking, I/O-driven process.
squid keeps meta data and especially hot objects cached in RAM, caches DNS lookups, supports non-blocking DNS lookups, and implements nega-
tive caching of failed requests.
squid supports SSL, extensive access controls, and full request logging. By using the lightweight Internet Cache Protocol, squid caches
can be arranged in a hierarchy or mesh for additional bandwidth savings.
squid consists of a main server program squid, a Domain Name System lookup program dnsserver, some optional programs for rewriting requests
and performing authentication, and some management and client tools. When squid starts up, it spawns a configurable number of dnsserver
processes, each of which can perform a single, blocking Domain Name System (DNS) lookup. This reduces the amount of time the cache waits
for DNS lookups.
squid is derived from the ARPA-funded Harvest Project http://harvest.cs.colorado.edu/
This manual page only lists the command line arguments. For details on how to configure squid see the file /etc/squid/squid.conf, the
Squid FAQ and the documentation at the squid home page http://www.squid-cache.org
OPTIONS
-a port
Specify HTTP port number where Squid should listen for requests, in addition to any http_port specifications in squid.conf.
-d level
Write debugging to stderr also.
-f file
Use the given config-file instead of /etc/squid/squid.conf. If the file name starts with a ! or | then it is assumed to be an
external command or command line. Can for example be used to pre-process the configuration before it is being read by Squid. To
facilitate this Squid also understands the common #line notion to indicate the real source file.
-h Print help message.
-i Install as a Windows Service (see -n option).
-k reconfigure | rotate | shutdown | interrupt | kill | debug | check | parse
Parse configuration file, then send signal to running copy (except -k parse) and exit.
-n name
Specify Windows Service name to use for service operations, default is: Squid
-r Remove a Windows Service (see -n option).
-s Enable logging to syslog.
-l facility
Use specified syslog facility. implies -s
-u port
Specify ICP port number (default: 3130), disable with 0.
-v Print version.
-z Create swap directories
-C Do not catch fatal signals.
-D Disable initial DNS tests.
-F Don't serve any requests until store is rebuilt.
-O options
Set Windows Service Command line options in Registry.
-N No daemon mode.
-R Do not set REUSEADDR on port.
-X Force full debugging.
-Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.
FILES
/etc/squid/squid.conf
The main configuration file. You must initially make changes to this file for squid to work. For example, the default configura-
tion does not allow access from any browser.
/etc/squid/squid.conf.default
Reference copy of the configuration file. Always kept up to date with the version of Squid you are using. Use this to look up con-
figuration syntax after upgrading.
/etc/squid/mime.conf (mime_table)
MIME type mappings for FTP gatewaying
/usr/share/squid/errors/templates (error_directory)
Error page templates
SEE ALSO
cachemgr.cgi(8), pam_auth(8), squid_ldap_auth(8), squid_ldap_group(8), squid_session(8), squid_unix_group(8),
The Squid FAQ
Squid Web Proxy 3.0.STABLE25 squid(8)