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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
fedy95 ff9352448a fix-deploy 4 years ago
.drone.yml fix-deploy-path 4 years ago
.editorconfig update-deploy 4 years ago
.gitignore migrate-service-from-github 5 years ago
LICENSE update-deploy 4 years ago
Makefile fix-deploy 4 years ago
README.md upgrade-pihole-instance-version 4 years ago
docker-compose.yml upgrade-pihole-instance-verison 4 years ago

README.md

pi-hole Build Status


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