X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=doc%2FjenkinsJob%2Fdyn-txt.php;h=c7b6cfeccb387ea9d363abc2696133955d2d31ec;hb=74f10c9db6cf2fcb5002ef4d2fa7f3c43abd6fb0;hp=7914b986945ed274c91066ccf8abb244c10a68fc;hpb=0b77293697a8a0fabf120c7b820a71ec94831c82;p=gigi.git diff --git a/doc/jenkinsJob/dyn-txt.php b/doc/jenkinsJob/dyn-txt.php index 7914b986..c7b6cfec 100644 --- a/doc/jenkinsJob/dyn-txt.php +++ b/doc/jenkinsJob/dyn-txt.php @@ -33,8 +33,8 @@ if($_GET['action'] == "http"){ file_put_contents("cacert-$t1.txt", $t2); } else if($_GET['action'] == "dns") { $todelete[$time][] = array("dns", $t1); - $dnscalls .= "update delete cacert-{$t1}." . ZONENAME . " TXT\n" - ."update add cacert-{$t1}." . ZONENAME . " 60 TXT {$t2}\n"; + $dnscalls .= "update delete {$t1}._cacert._auth." . ZONENAME . " TXT\n" + ."update add {$t1}._cacert._auth." . ZONENAME . " 60 TXT {$t2}\n"; } $copy = $todelete; foreach($copy as $nt => $ar){ @@ -44,7 +44,7 @@ foreach($copy as $nt => $ar){ if($act[0] == "http"){ unlink("cacert-{$act[1]}.txt"); } else if($act[0] == "dns") { - $dnscalls .= "update delete cacert-{$act[1]}." . ZONENAME . " TXT\n"; + $dnscalls .= "update delete {$act[1]}._cacert._auth." . ZONENAME . " TXT\n"; } } }