Checking domain if using CloudFlare
Posted by Alex B. on 31 May 2012 05:34 AM
|
|
Checking domain if using CloudFlare To ensure that CloudFlare was properly installed, enable CloudFlare for three test websites from your control panel. To check if a website is on CloudFlare, use Terminal. Open Terminal, and enter the following dig command:
dig www.hostforweb.com
Output without CloudFlare-enabled:
;; ANSWER SECTION: www.hostforweb.com. 9212 IN A 204.93.210.100
Output with CloudFlare-enabled:
;; ANSWER SECTION: www.hostforweb.com. 1313 IN CNAME www.hostforweb.com.cdn.cloudflare.net. www.hostforweb.com.cdn.cloudflare.net. 513 IN CNAME cf-protected-www.hostforweb.com.cdn.cloudflare.net. cf-protected-www.hostforweb.com.cdn.cloudflare.net. 213 IN A 173.245.61.122 cf-protected-www.hostforweb.com.cdn.cloudflare.net. 213 IN A 199.27.135.44 If you see '.cdn.cloudflare.net', then CloudFlare is enabled. | |
|