You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.drone.yml | 4 years ago | |
.editorconfig | 4 years ago | |
.gitignore | 5 years ago | |
LICENSE | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
docker-compose.yml | 4 years ago |
README.md
pi-hole 
services
run
# for check a port 53
netstat -ntlp | grep LISTEN
# resolv.conf
ll /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Apr 23 07:33 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
sudo sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
sudo sh -c 'rm /etc/resolv.conf && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf'
systemctl restart systemd-resolved
docker-compose up -d
debug
docker-compose logs -f pihole
docker exec -it pihole /bin/sh
# change password
pihole -a -p
# show password
docker logs pihole | grep random
windows-client debug
ipconfig /flushdns
nslookup pi.hole
## correct response
: pihole
Address: 192.168.1.49
nslookup pi.hole 192.168.1.49
## correct response
: pi.hole
Address: 192.168.1.49
nslookup flurry.com
## correct response
: flurry.com
Addresses: ::
0.0.0.0