Problemas no squid "O cache foi incapaz de resolver ..."

Iniciado por tkd, 12 de Janeiro de 2009, 11:32

tópico anterior - próximo tópico

tkd


Bom dia Amigos,
Estou com problemas no squid ... algumas paginas consigo acessar e outras nao ...
A URL solicitada não pode ser recuperada, ja troquei o dns do arquivo resol.conf e continua a mesma coisa,
poderiam me ajudar por favor ?
Obrigado

--------------------------------------------------------------------------------

Na tentativa de recuperar a URL: http://www.dominio.com.br 

O seguinte erro foi encontrado:

Incapaz de determinar o endereço IP através do nome do host www.dominio.com.br
O servidor DNS retornou:

Server Failure: The name server was unable to process this query.
Isso significa que:

O cache foi incapaz de resolver o nome do host presente na URL.
Verifique se o endereço está correto.

brunomacagnani

Tkd,
Voce poderia postar os confs para a gente analizar, voce já verificou os logs tambem?

Abracos

tkd

Valeu pela atenção,
segue o .conf do meu proxy ...
abs



http_port 3128

dead_peer_timeout 60 seconds
hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

cache_mem 512 MB
maximum_object_size 15000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 1024 KB
#fdqncache_size 1024
memory_replacement_policy heap GDSF

cache_dir diskd /squid-cache 12000 16 256

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none

mime_table /usr/share/squid/mime.conf
pid_filename /var/run/squid.pid

ftp_user joe@
ftp_list_width 32
ftp_passive on

connect_timeout 2 minutes
peer_connect_timeout 2 minutes
request_timeout 60 seconds
persistent_request_timeout 1 minute
client_lifetime 60 minutes
half_closed_clients off

log_fqdn off

# ACL padrao
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 to_localhost dst 127.0.0.0/8
acl manager_purge src 127.0.0.1/255.255.255.255
acl SSL_ports port 443
acl Safe_ports port 443
acl Safe_ports port 80
acl Safe_ports port 81
acl Safe_ports port 21
acl Safe_ports port 210
acl Safe_ports port 1024-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777

#ACL para metodo de acesso
##########################
acl CONNECT method CONNECT
acl PURGE method PURGE

#ACL para redes internas
#########################
#acl cb_network scr 192.168.4.0/255.255.255.0

#ACL para filtros de acesso
###########################

# Libera por ip
acl ip_liberado src "/etc/squid/ip_liberados.txt"

# BLOQUEIA DOMINIOS
acl BLOCKED_DOMAINS url_regex -i "/etc/squid/blocked_domains"

# EXTENSOES BLOQUEADAS
acl blocked-extensions url_regex -i "/etc/squid/blocked-extensions"

# EXPRESSOES NA URL
acl blocked-expressions url_regex -i "/etc/squid/blocked-expressions"

# URLS
acl trusted-urls url_regex -i "/etc/squid/trusted-urls"

# *** Define PC(s) com privilegio total - CUIDADO!
#acl admin arp "/etc/squid/admin.txt"


#ACL para bloqueio do cliente msn
#################################
acl CLIENT_MSN url_regex -i gateway.dll ADSAdClient31.dll
acl MSN req_mime_type -i ^application/x-msn-messenger$

#ACL internas SQUID
###################

http_access deny blocked-expressions
http_access deny blocked-extensions
http_access allow ip_liberado
http_access allow trusted-urls
http_access allow manager localhost
http_access deny manager
http_access allow PURGE localhost
http_access deny PURGE
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost

#ACL filtragem rede corporativa
###############################
http_access allow all !BLOCKED_DOMAINS !CLIENT_MSN !MSN



#Filtragem default
##################


http_reply_access allow all
icp_access allow all
miss_access allow all

cache_mgr proxy
cache_effective_user proxy
cache_effective_group proxy
visible_hostname proxy
memory_pools off
forwarded_for on
error_directory /usr/share/squid/errors/Portuguese
max_open_disk_fds 8192
offline_mode off
coredump_dir /var/spool/squid
pipeline_prefetch off