A better way to block domains?

William Park opengeometry at yahoo.ca
Sat Nov 15 06:28:05 UTC 2003


Right now, I'm using local DNS to block undesirable domains from
resolving.  Relevant configuations are as follows:

    /etc/named.conf:
	zone bad1.net { type master; file "blocked.domain"; };
	zone bad2.net { type master; file "blocked.domain"; };
	...

    /var/named/blocked.domain:
	$TTL 3D
	@  IN  SOA	localhost.  root.localhost. (
	    ...
	)
	       NS	localhost.

This works.  But, I'm wondering... is there better way to block domains?

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
Linux solution for data management and processing. 


More information about the bind-users mailing list