mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-12-20 12:41:18 +00:00
Add local blacklist
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1aa029a32b
commit
e233ca5f68
2 changed files with 9 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
7
blacklist.local
Normal 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
|
Loading…
Reference in a new issue