projects
/
GitHub
/
Stricted
/
Domain-Control-Panel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bf16d
)
remove creation of deprecated spf record
master
author
Stricted
<info@stricted.net>
Wed, 3 Aug 2016 16:54:48 +0000
(18:54 +0200)
committer
Stricted
<info@stricted.net>
Wed, 3 Aug 2016 16:54:48 +0000
(18:54 +0200)
bind9.php
patch
|
blob
|
blame
|
history
diff --git
a/bind9.php
b/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 {