Commit 1a02132f authored by wyrie's avatar wyrie
Browse files

Implemented: FS#1009 - ptr records powerdns plugin

parent 2d870d2e
......@@ -213,11 +213,6 @@ class powerdns_plugin {
$type = $data["new"]["type"];
switch ($type) {
case "PTR":
$name = $data["new"]["name"];
break;
default:
if(substr($data["new"]["name"], -1) == '.'){
$name = substr($data["new"]["name"], 0, -1);
} else {
......@@ -228,7 +223,6 @@ class powerdns_plugin {
}
}
if($name == '') $name = $origin;
}
switch ($type) {
case "CNAME":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment