Retrieve full zone

dnsGetZone

Purpose

 

Attributes

  • domainid - Domain ID OR
  • domain - The domain name
send domain id *or* domain

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "dnsGetZone";
$postfields['domain'] = 'domain.hu';

$result = mikrovps_SendCommand( $postfields );

Successful Response

result = success
dns = Array() with full zone

Error Response

result = error
message = Domain ID Not Found
  • 1 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

Edit record

dnsEditRecord Purpose Edit existing DNS record into zone. Attributes domainid - Domain ID...

Add record

dnsAddRecord Purpose Add new record into DNS zone. Attributes domainid - Domain ID OR...

Delete record

dnsDeleteRecord Purpose Delete DNS record from zone. Attributes domainid - Domain ID OR...