Does firewalld support fqdn hostnames?
Issue
Customer would like to use FQDN instead of IPs in firewalld configuration, but when firewalld is reloaded with:
# firewalld-cmd --reload
Some rules are not applied if a hostname has to be resolved to IP (and the entry is not in /etc/hosts or nscd cache) or firewalld cannot contact dns. In such cases the rule is skipped.
Note: firewalld report "success" but some 'iptables WARNING' will appear in /var/log/messages
Environment
RHEL 7.2
firewalld-0.4.3.2-8.1.el7_3.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.