The point is, I don't want to run a server. There's a globally distributed system I can (ab)use instead.
Re:Get the location of the ISS using DNS
by bortzmeyer on Monday July 07, 2025 @06:16AM
(#44488664)
That would be fully compliant with the DNS spec. (I run such a service, test 2+2.op.dyn.bortzmeyer.fr/TXT or paris.now.weather.dyn.bortzmeyer.fr/TXT.)
Then run a program that listens to UDP/53 and TCP/53. Have it respond with a DNS packet that's only dynamic in the LOC record and message ID. Not fully compliant with the DNS spec, but good enough for this use case.
You could cache API response to combat rate limiting.