DNS Website blocking
Hey guys!
Is it possible to use bind (or whatever DNS server there is on a Linux server) to block certain websites? I have SuSE 10.0 at home using bind I think. Can I block certain sites without the use of a proxy server? Thanks |
Sure. Make them point to some nonexistant IANA-reserved LAN range. I use Pdnsd for that. It has a tweakable and persistent cache, it's easy to configure and has a better security track record.
|
Hi,
If the sites are in yourdomain then follow these instructions: You need to add a line in forward zone file i.e. yourdomain.com.zone file and put this line blockmachine IN A 192.168.0.232 #FAKE IP ----------------------------------------------- If the sites are not in your domain then try this: 1. make a copy of yourdomain.com.zone file as blockdomain.com.zone and then edit it like this: Quote:
|
Thanks nayyares!
I'm glad that there is a built in feature to block sites. Do you maybe know of a good article that explains this in more detail? I would find this very usefull. Cheers. |
All times are GMT -5. The time now is 02:19 AM. |