Added getDNS() to plesk
This commit is contained in:
@@ -20,6 +20,7 @@ class Controller_Task_Host extends Controller_Task {
|
||||
switch (Request::current()->action()) {
|
||||
case 'getclient':
|
||||
case 'getdomain':
|
||||
case 'getdns':
|
||||
case 'getreseller':
|
||||
case 'gettraffic':
|
||||
case 'provision':
|
||||
@@ -85,6 +86,18 @@ class Controller_Task_Host extends Controller_Task {
|
||||
print_r($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get DNS Details from Host Server
|
||||
*/
|
||||
public function action_getdns() {
|
||||
$result = $this->hpo->cmd_getdns($this->so,'/tmp/z');
|
||||
|
||||
#if ($result->loaded())
|
||||
# $this->verify('d',$result);
|
||||
|
||||
print_r($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Reseller
|
||||
*/
|
||||
|
Reference in New Issue
Block a user