[CentOS] iptables -d fqdn instead of IP

Wed Oct 28 20:44:49 UTC 2009
Marcus Moeller <mail at marcus-moeller.de>

Hi all,

does it work to define iptables rules with a fqdn as destination
instead of an IP address? Or is it useful to resolve the name first
using e.g. nslookup, writing the result to a variable which is then
used within the -d statement?

Best Regards
Marcus