hostmngr: Don't try to resolve IP-adresses in firewall.
Using iptables --list without -n takes a long time on some configurations during boot up which is a problem.
This commit resolves this by not trying resolve hostnames as it is not necessary for the functionality.
It also splits up the check in two: one for IPv4 and one for IPv6 to make the logic more robust and fail-safe.