DNS wildcards to block entire website?


#1

Hello,
I am new to Nethserver, and so far I really like it!
I am trying to use DNS to block access to certain websites. Can I use a wildcard to block both “domain.com” and “www.domain.com” with the same entry? For example, “*.domain.com” to block the entire domain and all sub-domains?
Thank you


(Roberto Sitzia) #2

Hi @SamE
Do you want to block DNS resolution or Web sites?
If you want to block Web sites or just few you need to install and configure Proxy Web :wink:

If you need further assistance don’t hesitate to ask!


#3

You’re right, this is a proxy function. Thank you!


(Andrew) #4

I know this is an old thread but I cannot find an answer for this on the forum. How exactly did you achieve this via proxy. It seems you need to list each sub domain to get this right. Thanks in advance.