diff --git a/src/freedombone-utils-firewall b/src/freedombone-utils-firewall index fc95b87f..f713cd3d 100755 --- a/src/freedombone-utils-firewall +++ b/src/freedombone-utils-firewall @@ -603,6 +603,9 @@ function firewall_unblock_domain { fi sed -i "/${unblocked_domain}/d" "$FIREWALL_DOMAINS" fi + if grep -q " $unblocked_domain" /etc/hosts; then + sed -i "/ $unblocked_domain/d" /etc/hosts + fi } function firewall_drop_spoofed_packets {