Use my pihole to make the domain resolve to some machine on my LAN, then use this glorious new mitmproxy feature:

https://www.mitmproxy.org/posts/releases/mitmproxy-12.3/

It’s a pity they didn’t name the switch something like —dont-use-emudhra.