Please follow the below template, it will help us to help you!
Expected Behaviour:
[ curl -sSL https://install.pi-hole.net | bash should install pi-hole system]
Actual Behaviour:
[installer fails to install FTL, can no longer resolve hostnames]
Debug Token:
[no debug token - can't resolve names, so can't upload]
Hey guys - just like it says... fresh install of Raspbian stretch lite on a rpi 3. Installer runs fine (clones AdminLTE.git and pi-hole.git) just fine, then can't install FTL (the next time the install script tries to resolve something external I think).
[x] Downloading and installing FTL
Error: Unable to get latest release location from GitHub
[x] FTL Engine not installed
At that point the rpi is useless.. it can no longer resolve domain names, so can't run the installer again, can't clone from git, CERTAINLY can't point DNS queries to this thing...
'# Generated by dhcpcd
'# /etc/resolv.conf.head can replace this line
'# /etc/resolv.conf.tail can replace this line
(Obviously the single quotes before the comment hashes are not in the file.) Hard to know what to change... should the installer have written more than 3 commented lines to this file?
Added nameserver 8.8.8.8 to the end of the /etc/resolv.conf file, saved, pihole -r and repair, and everything was up and running.
I noticed that during the repair the /etc/resolv.conf file was updated to point to 127.0.0.1, which makes sense & explains why @jfb suggested changing that to another nameserver.