iptables question
Derek Atkins
warlord-DPNOqEs/LNQ at public.gmane.org
Tue Oct 27 10:57:50 EDT 2009
Dave Peters <gameslover987-/E1597aS9LQAvxtiuMwx3w at public.gmane.org> writes:
> Is there anyway to use iptables blocking domain name not IP address?
>
> Example to block hotmail.com.
>
> I tried this iptables -A FORWARD -d hotmail.com -j REJECT and it won't work.
You might have better luck running a local DNS and hosting a master zone
"hotmail.com" and sending all results to either NXDOMAIN or 127.0.0.1.
Or use a browser plugin...
> Thanks.
>
> --D
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord-DPNOqEs/LNQ at public.gmane.org PGP key available
More information about the Discuss
mailing list