V5.0 - pihole -g not working - DNS resolution is currently unavailable

Expected Behaviour:

pihole -g usually works for updating gravity.

pi@homemade-pi:~ $ pihole -g
[✗] DNS resolution is currently unavailable

Actual Behaviour:

pi@homemade-pi:~ $ pihole -g
[✗] DNS resolution is currently unavailable

Debug Token:

v5.0 does not provide a token any longer.

We didn't change the debug process, what is displayed when you run the command?


[✓] ** FINISHED DEBUGGING! **

* The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
* For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
* If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.

pihole -up also not working:

pi@homemade-pi:~ $ pihole -up
[i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Could not resolve host: github.com
[i] Pi-hole Core: up to date

Is this on a fresh install or on the Jessie that was in-place upgraded?

Fresh install. New RPi 4 and new micro SD card. All clean. Brand new.

Buster installed.

You can check and see if there's any local debug logs in /var/log, for the debugger to just stop at that point without any further output indicates something pretty wrong. Did it just go back to the console? You should have been prompted to answer yes or no.

How are you accessing the terminal? SSH or a keyboard?

Dan,

I'm using SSH to the box, and there are 2 debug logs:

rw-r----- 1 root adm 18044 Jun 18 01:30 debug
-rw-r----- 1 root adm 7903 Jun 13 02:24 debug.1

Thank you for your continued help.

Try running the debug again, there was an issue on the server last night.

You should be prompted for a y or n and the log should be in /var/log/pihole_debug.log for local use.

All is now working. My router was causing DNS issues. I had to change DNS on the router, and reboot. Pi-hoe is now working to update and resolve github.com.

Thank you for the time. Sorry for the trouble.

1 Like

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