Pi hole DNS not working

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

[working dns
-operating system
-hardware]

Actual Behaviour:

[tried to update my pi hole using pihole -up. It failed saying it can't verify the os. Since then DNS and FTL refuse to start and I can't reach anything on the internet.]

Debug Token:

[ongBkVPa]

You're running Raspbian 9 (based on Debian Stretch), which is not supported anymore.

*** [ DIAGNOSING ]: Operating system
[i] dig return code:  0
[i] dig response:  "Raspbian=10,11 Ubuntu=20,22 Debian=10,11 Fedora=34 CentOS=8 Rocky=8"
[✓] Distro:  Raspbian
[✗] Version: 9
[✗] Error: Raspbian is supported but version 9 is currently unsupported (https://docs.pi-hole.net/main/prerequisites/)

You should upgrade your OS.

I just saw that. I am updating it now. Will update if that resolves. Sorry for the false flag.

I have updated the os and it is still not running or updating FTL. It seems like it is failing on restarting it.

Debug token W4bUHPHL

If it helps when I try to manually start FTL it gives me an error that GLIBC_2.28 is not found.

Your debug log shows the same error:

Sep 27 09:22:16 Pi_Hole pihole-FTL[1541]: /usr/bin/pihole-FTL: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /usr/bin/pihole-FTL)

How did you upgrade your system?
Did you install a fresh OS or did you tried an in-place upgrade?

I did an inplace upgrade. I was able to fix the glibc by updating it, but now I am having a different issue with not maintaining my static IP. I created a new topic for that.

In-place upgrades are not recommended.

They tend to be complicated and usually leads to problems with missing libraries or wrong versions, specially in cases like this. You went from Debian 9 to Debian 11.

What is the recommended way of doing a fresh install? Just completely whiping everything and rebuilding it all from scratch again?

Yes.

For Raspberry Pi:

  • backup pi-hole config using teleporter.
  • backup your SD Card and format the card (or use a different one);
  • copy the new image (with the new OS) to the card;
  • start the Pi and install pi-hole;
  • restore pi-hole config using teleporter.

Thanks I ended up doing that.

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