1
vote
Accepted
Firewall blocking not the IP-address, but the DNS-name
The solution to the problem is to use ipset
Install
# yum install ipset
Create a new ipset and place it in the drop zone
# firewall-cmd --permanent --new-ipset=netban --type=hash:net --option=maxelem=...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
centos7 × 2968centos × 593
linux × 425
apache-2.4 × 242
nginx × 125
firewalld × 121
yum × 110
ssh × 107
networking × 101
systemd × 93
php × 88
iptables × 84
kvm-virtualization × 83
linux-networking × 80
postfix × 79
selinux × 75
mysql × 69
rhel7 × 65
httpd × 64
docker × 62
php-fpm × 57
firewall × 56
mariadb × 56
domain-name-system × 48
redhat × 48