-
|
Hello, How do I make it that all subdomains are automatically blocked? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It's possible to do this, but not with a hosts file, which the custom blocklist modifies. If you want to block entire domains including subdomains, eg.
|
Beta Was this translation helpful? Give feedback.
It's possible to do this, but not with a hosts file, which the custom blocklist modifies.
If you want to block entire domains including subdomains, eg.
*.facebook.comdo the following:sudo nano /etc/dnsmasq.d/090_adblock.confconf-file=/etc/raspap/adblock/my-domains.txtsudo nano /etc/raspap/adblock/my-domains.txtaddress=/facebook.com/0.0.0.0