[squid-users] IP works, Domain name does not

From: Balint Peak <balii@dont-contact.us>
Date: Sun, 03 Jun 2007 01:03:10 +0200

Hi, I installed a Squidman onto my mac, which is connected to a
windows-based PC. I set up the network prefs, and I cannot reach sites
from the PC if I wrote a normal adress. I mean the sites name instead of
the IP address, so if I use the IP adrress I can reach the sites
properly from the PC.

Here's my config file (generated by Squidman):
-----------------------------------------------------------------
cache_dir ufs /Users/balii/Library/Caches/squid 100 16 256
maximum_object_size 4096 KB
http_port 8080

cache_access_log /Users/balii/Library/Logs/squid-access.log
cache_log /Users/balii/Library/Logs/squid-cache.log
cache_store_log /Users/balii/Library/Logs/squid-store
pid_filename /tmp/squid.pid

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY

# access control lists
acl allowed src 192.168.0.2

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563 8443
acl Safe_ports port 80 81 21 443 563 70 210 1025-65535 280 488 591 777
acl CONNECT method CONNECT

# only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager

# deny requests to unknown ports
http_access deny !Safe_ports

# deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

# client access
http_access allow localhost
http_access allow allowed
http_access deny all

# direct access (bypassing parent proxy)

always_direct deny all
-----------------------------------------------------------------

Thanks for helping.
Received on Sat Jun 02 2007 - 17:03:10 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:03 MDT