From 1d638cb419503b02ecdd34e7a4a8138ef797087c Mon Sep 17 00:00:00 2001 From: Stricted Date: Wed, 3 Aug 2016 18:54:48 +0200 Subject: [PATCH] remove creation of deprecated spf record --- bind9.php | 4 ---- 1 file changed, 4 deletions(-) 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 { -- 2.20.1