From 7854522f94e55f45acc1c7e05c5fd66e3d253935 Mon Sep 17 00:00:00 2001 From: Filip Date: Wed, 11 Mar 2020 16:33:59 +0100 Subject: [PATCH] no reason to die if domain is using CloudFlare --- inspect-mail.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inspect-mail.php b/inspect-mail.php index 8dddaae..f60d46d 100644 --- a/inspect-mail.php +++ b/inspect-mail.php @@ -49,12 +49,11 @@ if ( $isIP ) { // Get SPF for the domain $dnstxt = dns_get_record( $host , DNS_TXT ); - // Die if Cloud Flare domain + // Notify if domain uses Cloud Flare if ( $dns ) { foreach ( array_reverse( $dns ) as $ns ) { if ( strpos( $ns['target'] , 'cloudflare.com' ) !== false ) { - echo 'This is a Cloud Flare domain. Data can\'t be collected for this domain.'; - die; + echo 'This is a Cloud Flare domain.'; } } }