Get Health

use solutedns\Dns\Health;
$health = new Health();
$health->get(string, object);

Attributes:

domainstring
Zone name
sessionobject
The SSH session object [optional]
Check the Error Codes page for information about returned errors.
$domain = 'example.com';
array() {
  ["success"] => true
}
array() {
  ["errors"]=>
  array() {
    [7002]=>
    array() {
      [0] => "ns3.example.com"
      [1] => "ns4.example.com"
    }
    [7001]=>
    array() {
      [0] => "ns1.example.com - 154152996"
    }
    [7006]=>
    array() {
      [0] => "Record 'example1.com IN A 192.168.2.1' in zone 'example.com' is out-of-zone."
    }
  }
}