-
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.com
do the following:sudo nano /etc/dnsmasq.d/090_adblock.conf
conf-file=/etc/raspap/adblock/my-domains.txt
sudo nano /etc/raspap/adblock/my-domains.txt
address=/facebook.com/0.0.0.0