exit; } if (isset($_GET["DelDNSEntry"])) { DelDNSEntry(); exit; } if (isset($_GET["EnablePDNS"])) { EnablePDNS(); exit; } if (isset($_GET["PowerDNSLogsQueries"])) { SaveLogsSettings(); exit; } if (isset($_GET["PDNSRestartIfUpToMB"])) { PDNSRestartIfUpToMB(); exit; } if (isset($_GET["infos"])) { pdns_infos(); exit; } if (isset($_GET["pdns-infos-query"])) { pdns_infos_query(); exit; } js(); function AddPointerDc() { $dn = $_GET["AddAssociatedDomain"]; $ldap = new clladp();
if(isset($_GET["ns-record-field"])){popup_ns_field();exit;} if(isset($_GET["ns-records-list"])){popup_ns_list();exit;} if(isset($_GET["add-ns-record"])){popup_ns_save();exit;} if(isset($_GET["aRecord-soa"])){popup_arecord_edit();exit;} if(isset($_GET["AddAssociatedDomain"])){AddPointerDc();exit;} if(isset($_GET["DelAssociatedDomain"])){DelPointerDC();exit;} if(isset($_GET["RefreshDNSList"])){echo dnslist();exit;} if(isset($_GET["popup-add-dns"])){echo popup_adddns();exit;} if(isset($_GET["SaveDNSEntry"])){AddDNSEntry();exit;} if(isset($_GET["DelDNSEntry"])){DelDNSEntry();exit;} if(isset($_GET["DisablePowerDnsManagement"])){DisablePowerDnsManagement();exit;} if(isset($_GET["EnablePDNS"])){EnablePDNS();exit;} if(isset($_GET["PowerDNSLogsQueries"])){SaveLogsSettings();exit;} if(isset($_GET["PDNSRestartIfUpToMB"])){PDNSRestartIfUpToMB();exit;} if(isset($_POST["PowerDNSMySQLEngine"])){PowerDNSMySQLEngine();exit;} js(); function AddPointerDc(){ $dn=$_GET["AddAssociatedDomain"]; $ldap=new clladp(); $upd["associateddomain"]=$_GET["entry"]; if(!$ldap->Ldap_add_mod($dn,$upd)){echo $ldap->ldap_last_error;return;} $sock=new sockets(); $sock->getFrameWork("cmd.php?artica-meta-export-dns=yes"); } function DelPointerDC(){ $dn=$_GET["DelAssociatedDomain"];