Help with DNS intermittently cutting in and out

Hello, I am running pi-hole on docker on my windows 10 box. Only over the past few days the DNS resolutions seem to cut intermittently in and out. Everything works just fine if I don't run my dns through pi-hole. Any help will be greatly appreciated.

Edit: I fixed the issue, it was Docker Desktop 4.19 that's the problem. Downgrade to 4.18 or try your luck with 4.20 and above.

(To technically close this)
Fixed by switching back to Docker Desktop 4.18 for Windows.