Available debug endpoints
The following debug endpoints are available via dig or other DNS query tools.
dig @alex.ns.cloudflare.com chaos txt myip.cloudflare +shortThis command returns your public IP address, meaning the IP address that Cloudflare receives the DNS query from. This is useful for debugging when you need to know your own IP.
dig @alex.ns.cloudflare.com chaos txt id.server +shortThis command returns the Cloudflare data center you are connecting to, for DNS queries sent from where you execute this command.
dig @alex.ns.cloudflare.com chaos txt version.bind +shortThis command returns the version of Cloudflare's authoritative DNS software that is running on the data center you are connected to. Usually, the same version is present on all Cloudflare data centers. However, since Cloudflare performs staged releases, different versions can exist on different data centers.
dig @alex.ns.cloudflare.com txt whoami.cloudflare.net +shortThis command returns your public IP (same as the first command), your ASN, and the associated country code, all indicating where you are sending the query from.