Not sure my situation has anything to do with pi-hole, but I don't know where to ask about this, and I am hoping someone here can help me.
I have Pi-hole running on an RPi with docker compose.
As upstream DNS I set the OpenDNS family shield IPs:
208.67.222.123
208.67.220.123
And I think I did that right, because the query log shows:
I've also tried removing the dns block, with the same result. The block was in fact the same before, when it used to work. The only new thing are WEB_UID and WEB_GID which I added trying to solve a different problem I have.
@CallMeCurious Sorry, I confused this post with another one I made recently, and I was under the impression I had written this.
So I'm running pi-hole on an RPi4 with docker compose. I had been running it all an old version of Raspbian and it worked great for several years.
Then, I did a botched attempt at in-place upgrade of the OS and ended up with a bricked system. I backed up the data in that system and decided to start from scratch. It took a few months until I was able to get to this, and other things were also updated in the meantime (e.g. docker-compose no longer accepted a yaml with network-mode host and port mappings) - I guess pihole itself has also seen some updates, so I'm not saying the OS update is at fault.
In any case, after a while, I installed bookworm aarch64 and reinstalled everything. I started by using the previous docker-compose and even restored the backed volumes. This worked in most cases, though I did have a bit of trouble with file permissions here and there.
However, I never could get pi-hole to work properly with OpenDNS again.
PS: ddclient itself was also updated and created some problems. With the same ddclient.conf that I had been using before, the newer version just didn't want to work anymore, on the host OS. It was throwing out some errors, but I forget what they were.
So I installed ddclient also as a docker container. According to the logs, it works. Even in the opendns settings I can see that my IP is updated.
Gotcha. There is lot of moving parts there. Its possible that what you backed up isn't compatable with the new os. Alot has changed, network wise, from older versions of raspbian to Bookworm. I think this is beyond me but hopefully the addition info may give others some insight.
I know what you mean and I'm also hoping someone can help.
The thing is, I even tried to rebuild the entire container from scratch and still no joy. So all I kept was the docker_compose.yaml entry (with some corrections, as I mentioned).
Then I reconfigured everything by hand. Same result.
I tried to get help from ChatGPT, but that didn't go too far.
dig +short whoami.opendns.com TXT
Returns nothing.
dig +short myip.opendns.com @208.67.222.222
also returns nothing
I also get this but I'm not sure what to do with it.
Your other queries are no differnent that mine ( running bare metal ) but this one should return you public IP ( it did for me, again running baremetal ). I'm only guessing here but perhaps this has something to do with the docker bridge?