PiHole working but cannot connect to internet from command line -- RESOVLED

The issue I am facing:
PiHole is set up and working as it should but I've now noticed I can't update any of the gravity lists. When I try and do an apt update or pihole -up I just get errors saying can't resolve website.
If I try and ping anywhere from command line I get "name or service not known"

Strange thing is I can ping no problem from a connected device like my laptop.

This is only a recent issue and even though I have other services running (see below) I've never had this issue happen until recently. Not sure what to check as I don't mess around much with the settings.

Details about my system:
Raspberry Pi 4

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian

I also have OpenmediaVault, Plex, PhotoPrism and WireGuard set up on my raspberry Pi.

What I have changed since installing Pi-hole:
Nothing changed recently. I pretty much leave the system there to do it's thing

Apologies for replying to my own post but I eventually found a fix. Seems my dns settings were messed up somehow on my pi.

I used the article find-and-change-dns-server-on-linux to add a dns server as when i ran the "resolvectl status" command, no dns server was being returned

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