I just wanted to share a funny with everyone and hopefully save someone out there some time...
I've spent the last three hours pulling out every hair on my head (and soon after other places) because suddenly my DNS is leaking with VPN use. I use Surfshark with OpenVPN and have had no problems prior. I also use Cloudflare DNS (with PiHole as a DNS sink for ads/telemetry) and suddenly decided to check my VPN for any leaks only to notice my actual DNS servers. I went through everything I could possibly think of from bypassing my PiHole, swapping to my ISP's DNS, and other things just short of nuking my laptop. Even after swapping DNS servers to anything but Cloudflare Firefox always leaked Cloudflare DNS servers. Finally I decided to dance with the devil and install Chrome only to notice no leaks! Apparently Firefox now uses DNS over HTTPS for some users. This in itself is a very sane setting for speed and to respect privacy, but for FF users employing a VPN it causes leaks because it bypasses the system (and thus VPN) DNS settings.
TLDR
If you've updated FireFox and suddenly have DNS leaks over VPN, it's because FireFox has enabled DNS over HTTPS for some users. Open Preferences, scroll down to Network Settings, scroll down to DNS over HTTPS and turn it off to resolve. Or leave it on if you like Cloudflare DNS and don't use a VPN.