Expected Behaviour:
I'm using pi-hole on a raspberry pi zero 2W, with the default raspberry pi os image. I've installed raspberry pi through the pi-hole script. I'm currently running the following pi-hole versions (pihole -v
):
Core version is v6.0.5 (Latest: N/A)
Web version is v6.0.2 (Latest: N/A)
FTL version is v6.0.4 (Latest: N/A)
I run my pi-hole within a VLAN that has access to the internet, but can't access devices on other VLANs. My router is the only client for the pi-hole, as all requests are routed through there.
I'm trying to update pi-hole, but the DNS isn't resolving on the machine itself.
Actual Behaviour:
Today, my DNS stopped working due to the updateGravity.log
being to large. On another post I read that you needed to trunctate it, which I did and make the DNS work again. Because I was already cleaning up my pi-hole server, I wanted to update it. When running apt update
and pihole -up
I got an error that the name couldn't be resolved.
I think that this has something to do with my /etc/resolve.conf
file pointing to my routers gateway, which uses the pi-hole as a DNS server. I've tried changing the nameserver
directive to a known nameserver, but this value changes back on every reboot. How would I fix the DNS resolution on the pi-hole?