Update DkimSetup.php

This commit is contained in:
Bozhidar 2024-09-30 12:42:11 +03:00
parent e9ec04b654
commit c52d63b7af

View file

@ -60,9 +60,10 @@ class DkimSetup extends Component
$checkThree = shell_exec('dig @1.1.1.1 +short -x ' . $getIpOfDomain);
$checkThree = trim($checkThree);
$checkTreePass = false;
if ($checkThree == $this->domain) {
if (str_contains($checkThree, $this->domain)) {
$checkTreePass = true;
}
$checks[] = [
'check'=>'Reverse DNS',
'pass'=>$checkTreePass,