Re: [squid-users] squid and intranet

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 23 Jan 2007 11:37:48 -0900

paulo braga wrote:
> Hi
>
> I am new in squid and I am using the squid/2.5.STABLE14.
>
> Before I didn’t use squid to access my intranet server by
> http://name_server. Now that I am using squid the only way to access my
> intranet server is taping the FQDN http://name_server.domain.local.
>
> And each time I try to access by the simple name (http://name_server) I have
> the error in the access.log:
> 1169558360.997 149 172.16.32.0 TCP_MISS/503 1522 GET http://name_server/
> - DIRECT/name_server text/html
>
> And when I try to access by the FQDN name (http://name_server.domain.local)
> I have the entry in the access.log:
> 1169559704.107 174 172.16.32.0 TCP_REFRESH_HIT/304 230 GET
> http://name_server.domain.local /IMG/accueil/41.jpg - DIRECT/172.16.111.30 -
>
> I am looking for a solution to this problem because my antivirus clients
> pass also throw the proxy they can not update with the my antivirus server
>
> Thanks a lot for your help.
>
> Paulo
>
>
>

Two things to check in the squid.conf:

# TAG: hosts_file
# Location of the host-local IP name-address associations
# database.
...
# The file is checked at startup and upon configuration. If
# set to 'none', it won't be checked. If append_domain is
# used, that domain will be added to domain-local (i.e. not
# containing any dot character) host definitions.

and

# TAG: append_domain
# Appends local domain name to hostnames without any dots in
# them. append_domain must begin with a period.

Chris
Received on Tue Jan 23 2007 - 13:38:03 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST