Skip to content

Commit

Permalink
Merge pull request #601 from Augmentt-dev/dns
Browse files Browse the repository at this point in the history
Update error message when DNS record cannot be found
  • Loading branch information
merill authored Jan 7, 2025
2 parents d67de01 + 816d362 commit 3342af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function ConvertFrom-MailAuthenticationRecordDkim {
if ($record) {
$dkimRecord = [DKIMRecord]::new($record)
} else {
return "Failure to obtain record"
return "Record does not exist"
}
} else {
Write-Verbose "`nFor non-Windows platforms, please install DnsClient-PS module."
Expand All @@ -136,4 +136,4 @@ function ConvertFrom-MailAuthenticationRecordDkim {

return $dkimRecord
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function ConvertFrom-MailAuthenticationRecordDmarc {
if ($record) {
$dmarcRecord = [DMARCRecord]::new($record)
} else {
return "Failure to obtain record"
return "Record does not exist"
}
} else {
Write-Verbose "`nFor non-Windows platforms, please install DnsClient-PS module."
Expand All @@ -266,4 +266,4 @@ function ConvertFrom-MailAuthenticationRecordDmarc {

return $dmarcRecord
}
}
}

0 comments on commit 3342af0

Please sign in to comment.