Not knowing the pihole software well, I'm at a loss with this one.
Hardware: Raspberry Pi Zero W
OS: Latest (2017-04-10) Raspbian Jessie Lite.
Steps taken:
- sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
- Install DNSCrypt
sudo apt-get install build-essential tcpdump dnsutils libsodium-dev locate bash-completion libsystemd-dev pkg-config
mkdir -p dnsproxy
cd dnsproxy
wget https://download.dnscrypt.org/dnscrypt-proxy/LATEST.tar.bz2
tar -xf LATEST.tar.bz2
cd dnscrypt-proxy-1.9.5
sudo ldconfig
./configure --with-systemd
make
sudo make install
- sudo useradd -r -d /var/dnscrypt -m -s /usr/sbin/nologin dnscrypt-proxy
- edit dnscrypt-proxy.conf to select resolver and set up options.
- copy dnscrypt-proxy.conf to /usr/local/etc/dnscrypt-proxy.conf
- edit dnscrypt-proxy.socket to set proxy on 127.10.10.1
- copy dnscrypt-proxy.service and dnscrypt-proxy.socket to /lib/systemd/system/
- systemctl enable dnscrypt-proxy.service
- edit /etc/resolv.conf and /etc/dhcpcd.conf to point to 127.10.10.1
- reboot
- test DNSCrypt with nslookup pihole.net
nslookup pi-hole.net
Server: 127.10.10.1
Address: 127.10.10.1#53
Non-authoritative answer:
Name: pi-hole.net
Address: 104.24.109.83
Name: pi-hole.net
Address: 104.24.108.83
- install pihole
curl -sSL https://install.pi-hole.net | bash
Set up on eth0
Custom, 127.10.10.1
IP address: 192.168.1.51/16 │
Gateway: 192.168.1.1
Web Admin interface on
Log queries on
- fix issue 1: 403 on admin gui page with systemctl start lighthttpd
- fix issue 2: Pi-hole FTL no running with systemctl start pihole-FTL.service
- fix issue 3: Either no password displayed or didn't see it during install.
- Set DNS on PC to 192.168.1.50 and 192.168.1.51 (both identical raspberry pis set up in the same way as above)
- Test... Failed. No DNS server available.
- reboot both pi
- test again, still failed with no DNS server available...
Debug tokens: 53z7vmkhyq and n2myn6jely
Debug log pi1: https://pastebin.com/GVpyCVE0
Debug log pi2: https://pastebin.com/CYLBAatp