Squid doesn't work as DNS proxy , but you can use filtering software with Squid such as Dansguardian http://dansguardian.org/ and others... 2011/6/22 Martin Lukeš <martin.meridius@xxxxxxxxx>: > Hi Hasanen, > > I'm not familiar with Squid yet, hence I'm not sure if I understand you right. > > Maybe this will clarify my situation. > I manage tens of student computers. Until now on my server I used > Privoxy to filter out explicit websites (porn, etc.). Unfortunately > some of these students figured out how to disable proxy which was set > on these computers, since on OSes we use there is no way how to > prevent them to do so. Last line of "defense" remains DNS which system > prevents them to change. > > This is why I want DNS to filter these sites. > > OOOH! Can Squid even be set like DNS server? > > --- > Regards > Martin Lukeš > > > > 2011/6/22 Hasanen AL-Bana <hasanen@xxxxxxxxx>: >> No , no need to change DNS entries. You can use url_rewrite_program to >> rewrite specific URLs >> >> 2011/6/22 Martin Lukeš <martin.meridius@xxxxxxxxx> >>> >>> Hi all, >>> >>> I'd like to get answer to my question about Squid before I install it >>> on my server. >>> >>> In case I want Squid to respond to certain requests (based on that >>> requests URLs) with predefined page. Do I have to set Squid as a proxy >>> on clients computers or is it enough if I set it only as a DNS? >>> >>> Thank you in advance. >>> >>> --- >>> Regards >>> Martin Lukeš >> >