Keeping things local: Spoofing the Google/Android Connectivity Check!
It turns out this is pretty easy with a tiny bit of Python, a spare VM and a DNS entry. Thanks to a discussion here the other day which pointed me in the right direction.
(Note: I used Github Copilot for some Python assistance)
https://www.technical-capers.info/post/the-connectivity-check-caper