Yes pi-hole is running as a container on the host, as are the other containers I mentioned.
Lets start with the wireguard container. If I set it to use for example 1.1.1.1 the dns will work (from inside the container).
If I set it to use 192.168.9.2 (the host) dns won’t work. If I do a dns query I just get a timeout.
Let’s say I have the wireguard container use 1.1.1.1, as it works, and I set the wireguard client (my computer) to the same, all DNS querys will work. If I change the client to 192.168.9.2 I will get a timeout on evey DNS query.
From the client when connected to wireguard I can ping 192.168.9.2, I can reach it over http and https, mariadb, influxdb, mqtt etc. but Not DNS for some reason. I can even access pi-hole over the web ui but not anything that is going to port 53 for some weird reason.
I can’t really figure out why only DNS querys won’t work and everything else will.