This tool checks CloudFlare DNS entries using the CloudFlare API and then checks that the DNS record resolves to known CloudFlare IPs (as determined by CloudFlare's official list).
This tools uses a cache directory located at one of the following locations (in order):