[CentOS] iptables -d fqdn instead of IP

Robert Spangler mlists at zoominternet.net
Thu Oct 29 22:12:18 UTC 2009


On Wednesday 28 October 2009 16:44, Marcus Moeller wrote:

>  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 bet it to stay with the address.


-- 

Regards
Robert

Linux User #296285
http://counter.li.org


More information about the CentOS mailing list