From: Stricted Date: Wed, 3 Aug 2016 16:54:48 +0000 (+0200) Subject: remove creation of deprecated spf record X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=GitHub%2FStricted%2FDomain-Control-Panel.git remove creation of deprecated spf record --- diff --git a/bind9.php b/bind9.php index ef77103..b3530c3 100644 --- a/bind9.php +++ b/bind9.php @@ -56,10 +56,6 @@ if (is_array($data) && !isset($data['error'])) { $record['data'] = '"'.$txt.'"'; } - if (strpos($record['data'], "v=spf1") !== false) { - $out .= $record['name']."\t".$record['ttl']."\tIN\tSPF\t" . $record['data']."\n"; - } - $out .= $record['name']."\t".$record['ttl']."\tIN\t".$record['type']."\t" . $record['data']."\n"; } else {