Add local blacklist

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-10-22 22:47:17 +02:00
parent 1aa029a32b
commit e233ca5f68
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 9 additions and 2 deletions

View file

@ -2,5 +2,5 @@ default:
blacklist:
curl -sSfL https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | awk '/^(#.*|0.0.0.0.*|)$$/' > blacklist
# Add health check response
echo "0.0.0.0 health.server.test" >> blacklist
# Add local blacklist
cat blacklist.local >> blacklist

7
blacklist.local Normal file
View file

@ -0,0 +1,7 @@
# Server health check address - not to be removed
0.0.0.0 health.server.test
# Block annoying websites
0.0.0.0 facebook.com
0.0.0.0 facebook.net
0.0.0.0 taz.de