Добрый день товарищи! Возникла проблема при использовании прокси-сервера squid в alt linux школьный сервер (5.0.1). Дело в том, что сквид не желает работать на компьютере при отсутствующим dns сервере. Для более понятного объяснения:
Eth0 (внешняя сеть): 192.168.9.2 , 192.168.9.1, 255.255.255.0 (dns нет)
Eth1(внутренняя сеть): 192.168.0.1, 255.255.255.0
Доступ в интернет с компьютера-сервера осуществляется через прокси-сервер управления образования: 192.168.1.3:8080
Имелись следующие настройки сквида:
# SQUID version - 3.0.STABLE8-3+lenny2build0.9.04.1
http_port 3128
#acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.0.0/24
acl localhost src 127.0.0.1/32
cache_peer 192.168.1.3 parent 8080 0 no-query default
#cache_peer 118.97.234.253 parent 8080 0 no-query default
never_direct allow all
http_access allow localhost
http_access allow localnet
http_access deny all
access_log /var/log/squid3/access.log squid
И вот что получается при соединении через прокси:
he requested URL could not be retrieved
While trying to retrieve the URL: http://www.yandex.ru/?
The following error was encountered:
Unable to determine IP address from host name for www.yandex.ru
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.
Your cache administrator is webmaster.
Generated Mon, 13 Sep 2010 20:30:12 GMT by server.cabinet310 (squid/3.0.STABLE19)
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://95.108.157.252/
The following error was encountered:
* Connection to 95.108.157.252 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
Generated Mon, 13 Sep 2010 20:32:53 GMT by server.cabinet310 (squid/3.0.STABLE19)
Как вылечить эту ситуацию?