Cannot resolve after partial Pi-hole installation

I'm having this same issue as well. After trying quick install using curl -sSL https://install.pi-hole.net | bash

I have had to format my card and reinstall raspian to it a few times now as after I try to go to it, I cannot do anything as far as I can tell:

pi@raspberrypi:~ $ sudo wget -O basic-install.sh https://install.pi-hole.net
--2019-07-08 18:50:58--  https://install.pi-hole.net/
Resolving install.pi-hole.net (install.pi-hole.net)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘install.pi-hole.net’
pi@raspberrypi:~ $ curl -sSL https://install.pi-hole.net | bash
curl: (6) Could not resolve host: install.pi-hole.net
pi@raspberrypi:~ $ sudo apt-get update
Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
  Temporary failure resolving 'raspbian.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease  Temporary failure resolving 'raspbian.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Perhaps my SD card is corrupted. When trying to go to https://github.com/pi-hole/FTL/releases/download/v4.3.1/tbd from matt-biss post, i get a 404 error.

I cannot reproduce the FTL error as I rebooted my unit Pi and now it won't resolve the address each time I try. Perhaps the partial install of the Pihole broke something but it says pihole isn't installed.

I moved your issue to a new ticket as you are unlikely to be affected by the same issue.
Try

sudo rm /etc/resolv.conf
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
curl -sSL https://install.pi-hole.net | bash

to finish the Pi-hole installation. This will temporarily change the resolver to using Google's DNS server so you can resolve github.com and download the installer correctly.

3 Likes

I was so unbelievably annoyed. Thank you so much. FTL installed this time and everything seems to be working again

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.