Search squid archive

Squid not using hosts file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I am having issues getting Squid to use the hosts file on the squid server.
 
I added the hosts_file configuration directive to my squid config file as follows:
 
hosts_file  C:/Windows/System32/drivers/etc/hosts
 
But, when my squid client browser specifies a URL with a machine name listed in the hosts file, squid returns an error that says:
 
“Unable to determine IP address from host name. The DNS server returned: Name Error: the domain name does not exist. This means that the cache was not able to resolve the hostname presented in the URL.”
 
So, it seems that squid is NOT using my hosts file.
 
I have tried using forward slashes (/) and backward slashes (\) in the hosts_file configuration directive, yet the error persists.
 
I have verified the path to the hosts file is correct and I restart Squid each time I make edits to the configuration file. Yet the error persists.
 
I am running Squid version 3.5.28 on Windows 10.
 
Am I missing something?

Thanks,
Jazmine
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux