Opti Hosts: Beyond Cloudflare, Choosing IPs by Latency
Over the past few days I threw together a small and beautiful little tool to deal with some tricky CDN geo-DNS strategies. It basically calls Globalping's API to get the resolution results for a domain in other regions, then picks the IP with the lowest ICMP latency and writes it to the local hosts file.






