Adblock DNS

This commit is contained in:
sn0wb0i 2019-08-27 13:56:28 -04:00
parent a36d9efc24
commit ea208b9a15
5 changed files with 35 additions and 0 deletions

2
adblock/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
etc-dnsmasq.d
etc-pihole

1
adblock/README.md Normal file
View File

@ -0,0 +1 @@
# Pi-hole configuration on NixNet

1
adblock/adlists.list Normal file
View File

@ -0,0 +1 @@
https://nixnet.xyz/hosts.txt

View File

@ -0,0 +1,30 @@
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "198.251.90.89:53:53/tcp"
- "198.251.90.89:53:53/udp"
# - "198.251.90.89:80:80/tcp"
environment:
TZ: 'UTC'
DNS1: 10.250.66.200
DNS2: 198.251.90.114
VIRTUAL_HOST: pi.hole
ServerIP: 198.251.90.89
DNSMASQ_LISTENING: all
# Volumes store your data between container upgrades
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
- './adlists.list:/etc/pihole/adlists.list:ro'
- './pihole-FTL.conf:/etc/pihole/pihole-FTL.conf'
- /dev/null:/var/log/pihole.log:ro
- /dev/null:/var/log/pihole-FTL.log:ro
dns:
- 127.0.0.1
- 198.251.90.114
restart: unless-stopped

1
adblock/pihole-FTL.conf Normal file
View File

@ -0,0 +1 @@
PRIVACYLEVEL=4