Blocking an Entire Domain

NethServer Version: NethServer release 7.5.1804 (final)

Hi All,

Can anybody give me some guidance on how to block an entire domain in Neth Server?

I have tried using the Proxy (I would need to list each sub domain to get this to work)
I tried a DNS redirect to another IP, but it seems the Service Providers DNS over rides this/
And I have tried to make a rule in the firewall and reject the traffic, this also seems to fail unless I list all the sub domains.

Any suggestions?


Hi Andrew,

welcome to Nethserver Community.

You may use the web content filter for that, there you have the possibility to block URLs or entire domains:


Hi Markus,

Thanks for your reply. I have already tried that. This works if I want to block But if I want to block the sub domain of aaa, bbb and ccc, I have to enter all three addresses in the blacklist section.

In some cases there are 50 sub domains and thus difficult to block all variations.

Is there a way to use a wildcard?

I noticed in the image you have expression matching URL unticked. Could this be the reason the entire domain is not blocked?


Do you use auth, manual or transparent proxy? Do your clients use Nethserver as DNS, proxy and gateway?

Usually if you enter blocked domain “” then all subdomains like “” are blocked too.

Did you enable the blacklist in the filter settings?


Did you set a proxy bypass? If yes please remove it.

No, it shouldn’t affect black/whitelisting.

1 Like