i have a problem with the installation of Pi-Hole.
I install the DietPi Image on my RPi3 Model B.
I setup DietPi to static IP address and set the DNS-Server to DNS-Watch in dietpi-config.
Everything is wotking fine, i can ping router, google.com, 8.8.8.8 and so on...
Than i want to install Pi-Hole. The installation begins with no problems, but at some point
i loose connetion (name resolution) to the internet. The last step that works in the Pi-Hole installation script is
Code: Select all
Download latest version of FTL...
Detected ARM-hf architecture (armv7+)
Installing FTL... transferred... done.
This is the point where no name resolution is working anymore.
Code: Select all
Getting raw.githubusercontent.com list ... done
Status: Status 000
Download failed and no cached list available (list will not be considered)
I can ping localhost
Code: Select all
dietpi@DietPi ~ > ping -c 3 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.107 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.042 ms
Code: Select all
dietpi@DietPi ~ > ping -c 3 192.168.168.150
PING 192.168.168.150 (192.168.168.150) 56(84) bytes of data.
64 bytes from 192.168.168.150: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 192.168.168.150: icmp_seq=2 ttl=64 time=0.054 ms
64 bytes from 192.168.168.150: icmp_seq=3 ttl=64 time=0.044 ms
Code: Select all
dietpi@DietPi ~ > ping -c 3 192.168.168.1
PING 192.168.168.1 (192.168.168.1) 56(84) bytes of data.
64 bytes from 192.168.168.1: icmp_seq=1 ttl=64 time=0.453 ms
64 bytes from 192.168.168.1: icmp_seq=2 ttl=64 time=0.392 ms
64 bytes from 192.168.168.1: icmp_seq=3 ttl=64 time=0.415 ms
Code: Select all
dietpi@DietPi ~ > ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=44 time=29.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=44 time=36.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=44 time=29.1 ms
Code: Select all
dietpi@DietPi ~ > ping -c 3 google.com
ping: unknown host google.com
Some more information:
/etc/resolv.conf
Code: Select all
dietpi@DietPi ~ > cat /etc/resolv.conf
nameserver 127.0.0.1
Code: Select all
dietpi@DietPi ~ > cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 DietPi
Code: Select all
dietpi@DietPi ~ > cat /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/black.list
domain-needed
localise-queries
bogus-priv
no-resolv
server=176.56.237.171
server=77.66.84.233
interface=eth0
cache-size=10000
log-queries
log-facility=/var/log/pihole.log
local-ttl=300
log-async
Code: Select all
dietpi@DietPi ~ > cat /etc/pihole/setupVars.conf
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.168.150/24
IPV6_ADDRESS=
PIHOLE_DNS_1=176.56.237.171
PIHOLE_DNS_2=77.66.84.233
QUERY_LOGGING=true
INSTALL_WEB=true
WEBPASSWORD=xxx
Code: Select all
dietpi@DietPi ~ > cat /var/log/pihole.log
Jun 28 18:33:53 dnsmasq[2466]: started, version 2.76 cachesize 10000
Jun 28 18:33:53 dnsmasq[2466]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
Jun 28 18:33:53 dnsmasq[2466]: warning: ignoring resolv-file flag because no-resolv is set
Jun 28 18:33:53 dnsmasq[2466]: using nameserver 77.66.84.233#53
Jun 28 18:33:53 dnsmasq[2466]: using nameserver 176.56.237.171#53
Jun 28 18:33:53 dnsmasq[2466]: read /etc/hosts - 2 addresses
Jun 28 18:33:53 dnsmasq[2466]: failed to load names from /etc/pihole/black.list: No such file or directory
Jun 28 18:33:53 dnsmasq[2466]: read /etc/pihole/local.list - 2 addresses
Jun 28 18:33:53 dnsmasq[2466]: read /etc/pihole/gravity.list - 0 addresses
Jun 28 18:36:07 dnsmasq[2466]: query[A] google.com from 127.0.0.1
Jun 28 18:36:07 dnsmasq[2466]: forwarded google.com to 77.66.84.233
Jun 28 18:36:07 dnsmasq[2466]: forwarded google.com to 176.56.237.171
...
Can somebody help?
Thank you very much