Thanks for clarifying that. The only thing that I'm wondering about is why this didn't happen to me on older firmwares or when bypassing DOT. I always had the rebind protection option enabled.
You can add an extra setting in dnsmasq.add to assist with Plex.
Code:
rebind-domain-ok=/plex.direct/