the problem with these kind of solutions is that when there are many IP
mapping to one domain then this will not work. for example www.yahoo.com
has different IPS so its not the best solution.

use squid proxy/transparent proxy if u want to block certain sites.

vineet

On Fri, 2003-02-14 at 07:42, Dhruv Ahuja wrote:
> Hello Dhruv Soi
> 
> iptables -A FORWARD -p tcp -d www.google.com -j REJECT
> 
> ...it is worth mentioning that iptables can only operate on IPs. In this
> case, it will resolve www.google.com and apply the rule.
> 
> --Dhruv Ahuja

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to