diff --git a/data/web/inc/ajax/dns_diagnostics.php b/data/web/inc/ajax/dns_diagnostics.php
index 13179bed..d6c989b3 100644
--- a/data/web/inc/ajax/dns_diagnostics.php
+++ b/data/web/inc/ajax/dns_diagnostics.php
@@ -73,6 +73,9 @@ if (!isset($autodiscover_config['sieve'])) {
}
// Init records array
+$spf_link = 'SPF Record Syntax';
+$dmarc_link = 'DMARC Assistant';
+
$records = array();
$records[] = array(
$mailcow_hostname,
@@ -164,13 +167,13 @@ $records[] = array(
$records[] = array(
$domain,
'TXT',
- 'SPF Record Syntax',
+ $spf_link,
state_optional
);
$records[] = array(
'_dmarc.' . $domain,
'TXT',
- 'DMARC Assistant',
+ $dmarc_link,
state_optional
);