remove creation of deprecated spf record master
authorStricted <info@stricted.net>
Wed, 3 Aug 2016 16:54:48 +0000 (18:54 +0200)
committerStricted <info@stricted.net>
Wed, 3 Aug 2016 16:54:48 +0000 (18:54 +0200)
bind9.php

index ef7710320c688c6ce2b6588391f6bccace976db9..b3530c3617396e86cfaa46b09ffc4bf64185adce 100644 (file)
--- 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 {