2 header("Content-type: text/plain");
4 if($_GET['token'] != "<here a secure password>"){
9 if(!preg_match("/[a-zA-Z0-9]+/", $t1) || !preg_match("/[a-zA-Z0-9]+/", $t2)){
15 update delete cacert-{$t1}.<your fakezone here> TXT
16 update add cacert-{$t1}.<your fakezone here> 60 TXT {$t2}
23 $nsupdate = popen("/usr/bin/nsupdate -k <here your dnssec key>.key", 'w');
24 fwrite($nsupdate, $call);
25 $retval = pclose($nsupdate); // nsupdate doesn't return anything useful when called this way