Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Squid as proxy server

Squid as proxy server 10 years 2 weeks ago #18107

  • Bublitz
  • Bublitz's Avatar
  • Offline
  • Senior Member
  • Posts: 301
  • Thank you received: 3
  • Karma: 2
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
The administrator has disabled public write access.

Re: Squid as proxy server 10 years 2 weeks ago #18142

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.......................!
The administrator has disabled public write access.

Re: Squid as proxy server 10 years 1 week ago #18236

  • Bublitz
  • Bublitz's Avatar
  • Offline
  • Senior Member
  • Posts: 301
  • Thank you received: 3
  • Karma: 2
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
The administrator has disabled public write access.
Time to create page: 0.075 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup