Pi-hole is a great and easy addition to security. The automated installation is a nice thing, but did not work on my system. The core of the problem was that I wanted to install it on a Rasperry Pi that already had dnsmasq running on it. And of course that dnsmasq was configured to provide DNS services to the Pi. What then happened was that, as an early step of the installation, the dnsmasq daemon was stopped. Logically, the Pi-hole download that was supposed to to take place, did not work.
After a few tests the following approach showed to work
- Disable dnsmasq via
sudo systemctl stop dnsmasq.service
/etc/resolv.confto point to the DNS server in my router or something like 188.8.131.52 (dnsmasq sets it to 127.0.0.1 on every start or stop)
- Start the Pi-hole installation normally