DNS fails on rpi after install

After running curl -sSL https://install.pi-hole.net | bash , choosing "custom" DNS (set to 1.1.1.1, and 1.0.0.1) (it appears Cloudflare isn't a provided option anymore?). I didn't notice any errors during installation.

Expected Behaviour:

I would be able to customize the installation and/or start using the pihole

Actual Behaviour:

No domains can be resolved.

pi@pihole:~ $ curl https://install.pi-hole.net
curl: (6) Could not resolve host: install.pi-hole.net

pi@pihole:~ $ sudo service dnsmasq status -l
Unit dnsmasq.service could not be found.

Debug Token:

pi@pihole:~ $ pihole -d
-bash: pihole: command not found

Cloudfare is still part of the available Upstream DNS server list under settings in the admin interface.

Edit the /etc/resolv.conf file and change 127.0.0.1 into 1.1.1.1 and re-srun the setup.

Based on the help for another similar looking issue, I tried hitting manually adding the following to /etc/hosts so apt-get could work:
93.93.128.193 raspbian.raspberrypi.org
46.235.227.11 archive.raspberrypi.org
173.209.34.162 raspbian.mirror.colo-serv.net

Note : I just saw RamSet's post as I was writing this. I'll try his suggestion first :slight_smile:

thanks for the suggestion..
I've attached screenshots that include all the DNS provider options I had access to:
50%20PM
02%20PM

Unless I'm mistaken, it looks like Cloudflare isn't there?

Correct. They are not available in this version of the installer (they have been added to the Beta one).

You can use any at time of install, you should have the cloudfare option available under Admin/Settings/DNS once installed.

1 Like

Hmm. Is this to be expected:

[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed

I got a working token if it's at all useful - 5o5mpeh9ut

what OS are trying to install it on ?
what's the output of cat /etc/os-release

pi@pihole:~ $  cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@pihole:~ $

btw - I really appreciate your help here.. hopefully this posts will help others who have similar issues.

It's a supported OS.

Edit the same /etc/resolv.conf and change the 127 IP to 1.1.1.1

Then run a pihole -r and select repair.

1 Like

ok, I reran the install script and it looks like FTL installation worked (!)
I don't know if it matters too much (since it seems like things are working now) but any idea what I might have done to have it fail the first time?

We've seen sometimes failures on install.

Most of them are due to failed DNS resolution during install (where dependencies are requested and DNS resolution is either not active or failing and they are not served because of it ).

2 Likes

Looks like I'm unblocked on installation here - now to setup my DHCP etc. Thanks @RamSet for your help.

1 Like

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