1

I added this in squid.conf

acl blocked_sites dstdomains .yahoo.com
http_access deny blocked_sites

and this in elinks.conf

set protocol.http.proxy.host = "proxy.localhost:3128"
set protocol.http.proxy.passwd = ""
set protocol.http.proxy.user = ""

And i get HOST NOT FOUND

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Alex
  • 21
  • 2
  • Please, again, do not cross-post your question. http://askubuntu.com/questions/229359/why-do-i-get-host-not-found-when-using-a-restricted-squid-proxy-in-elinks – gertvdijk Dec 20 '12 at 23:07

1 Answers1

0

This probably means that you can't resolve proxy.localhost:3128. You should probably change it to localhost:3128 in your elinks.conf

Ulrich Dangel
  • 25,079
  • 3
  • 80
  • 80