[squid-users] ACL by ms windows hostname not IP

From: Nikolas Kuimcidis <kuimcidis_at_qualitybrands.cz>
Date: Thu, 18 Feb 2010 11:09:06 +0100

Hello There,

We use squid to deny full internet access to our users.
We have a win 2000 domain and the computers had static ip adresses
assigned. This means that ACL by IP's were piece of cake to setup.
So i could easily set who has and who doesnt have access.

Curretnly we stopped using static IP adresses and we obtain our IP's
from a DHCP server.
So I would like to setup the ACL rules to filter by
windows-computer-name and not by IP

First thing I did I added the windows domain server DNS to the
resolv.conf file on the debian server which runs squid.
With this step I can ping our windows machines (ping
computername.domain.company.cz) form the debian box.
So i thought that i could add a ACL (bellow) but that doesnt work

ACL test srcdomain computername.domain.company.org

Any idea what am i doing wrong?

Could you please guide me the right way and excuse a maybe lame question

Thank you in advance
Nikolas
Received on Thu Feb 18 2010 - 10:09:47 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 18 2010 - 12:00:06 MST