add SPF and DKIM stuff to DNS
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -129,12 +129,7 @@ if ($action == 'add_record' && ! empty($_POST)) {
|
||||
$content .= '.';
|
||||
} elseif ($type == 'TXT' && ! empty($content)) {
|
||||
// check that TXT content is enclosed in " "
|
||||
if (substr($content, 0, 1) != '"') {
|
||||
$content = '"' . $content;
|
||||
}
|
||||
if (substr($content, - 1) != '"') {
|
||||
$content .= '"';
|
||||
}
|
||||
$content = encloseTXTContent($content);
|
||||
} elseif ($type == 'SRV') {
|
||||
if ($prio === null || $prio < 0) {
|
||||
$errors[] = $lng['error']['dns_srv_prioempty'];
|
||||
|
||||
Reference in New Issue
Block a user