Skip to main content

Squid as proxy server

More
18 years 1 week ago #18107 by Bublitz
I have squid 2.6 NT version installed and working. I have the Acls configred for which sites I want to allow and disallow. I have the names servers configured. I've tested it on some machines, and I have it setup to block almost all outside sites and allow our internal sites.

I have one problem tho.

When I try to access an internal site we usualy just type

http://web

When I do this I get this error

[code:1]While trying to retrieve the URL: http://web/

The following error was encountered:

Unable to determine IP address from host name for web
The dnsserver returned:

Server Failure: The name server was unable to process this query.
This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct. [/code:1]

When I ping "web" out on the command prompt I get the correct info web.domain.com

When I use web.domain.com it works even tho web is the same thing

squid.conf has the proper dns server names configured

The Bublitz
Systems Admin
Hospice of the Red River Valley
More
18 years 6 days ago #18142 by ELECTRONICS
Just make an entry in the hosts file man.

It will be there in

WINNT\SYSTEM32\DRIVERS\ETC

or in

WINDOWS\SYSTEM32\DRIVERS\ETC

Example Entry:
[code:1]
192.168.145.21 WEB
192.168.145.21 WEB.DOMAIN.COM
192.168.145.21 DOMAIN.COM
[/code:1]

DIL.......................!
More
18 years 3 days ago #18236 by Bublitz
Replied by Bublitz on topic Re: Squid as proxy server
Didn't work.

It definitly a probelm in the Squid config.

If I select bypass proxy server for local connections it works.

Squid is hosing this up some how. I uninstalled it and tried a different version...same problem.

The Squid server has no problem pining/nslookup on these hosts so it should work.

The Bublitz
Systems Admin
Hospice of the Red River Valley
Time to create page: 0.118 seconds