When specifying addresses in PF tables, IP addresses as well as hostnames may be used. The problem is that a hostname may not be resolved when PF is started. When this happens the following line can be found in /var/log/console.log:
When this happens PF is started without any rules, leaving the host unprotected. This is by no means what is expected. So the number of hostnames in tables increases the risk that the firewall might end up in status no use.
If this is no bug, what would be good practice to work around this behavior?
Code:
console.log:Nov 14 16:37:24 mybox kernel: no IP address found for xxxxxx.xxx
If this is no bug, what would be good practice to work around this behavior?