Iptables and logging networks by domain name.
Hey,
I'm trying to log a host who I blocked before, but the user has a dynamic address. So lets say they are on the network xxx.com, how would I do a block similar to this:
*.xxx.com
I ask, because the IP of the user is different than xxx.com (of course,) I have tried *.xxx.com, and I get errors:
iptables -A INPUT -s *.xxx.com -j LOG
gives me and error saying it can't recognize the source address. I know I am missing something foolish, but it isn't coming to mind.
Thanks.
Mike.
|