It wasn’t out of support at the time, and I bought it before they gimped it. Google is actively preventing the use of Pihole or AdGuard by disabling the device if you redirect DNS queries away from their servers to your own.
I haven’t experienced this. I have the Chromecast with Google TV dongle and use a DST Nat to redirect all traffic from 8.8.8.8 and 8.8.4.4 to my own DNS server.
I also did this with my old Chromecast only from phone version
Maybe I should have specifically mentioned that it’s the ultras.
https://www.reddit.com/r/Chromecast/comments/pmt4cw/chromecast_ultra_just_updated_and_now_wont_work/
https://xdaforums.com/t/chromecast-ultra-issue-with-custom-dns.4396853/
https://discourse.pi-hole.net/t/custom-dns-group-for-chromecast/50996
It’s a bit of niche arrangement, so finding out what happened when it suddenly stopped working was a challenge.