mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-24 16:40:27 +00:00
Update DkimSetup.php
This commit is contained in:
parent
e9ec04b654
commit
c52d63b7af
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue