[CentOS] iptables -d fqdn instead of IP

Marcus Moeller

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


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



More information about the CentOS mailing list