Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

add

URL/api/v1/api.php?target=zone&action=add
DescriptionAdds a new DNS Zone.
Returns

Examples:

SUCCESSFUL:{"success":1,"message":"Add Successful.","data":123}
ERROR:{"success":0, "message":"error message"}


Data Detail:

NameTypeDescription
dataINTEGERThe Id of the new Zone entry.
Required Parameters
NameTypeExampleDescription
zoneNameSTRING254.221.67.in-addr.arpaThe name for the new Zone.
Optional Parameters
NameTypeExampleDescription
likeFlagBOOL1When 1, string searches are done via LIKE with wildcards at both ends. When 0, strict comparison is used.
zoneIpverSTRINGIPv6The IP Version.
zoneLocalSigning

BOOL

1

Whether or not this zone should be signed by the ProVision server when DNSSEC is enabled. If set to false, ProVision will deliver the zone unsigned to the DNS server and the signing / updating process should be triggered by the post-push command

zoneSerialINTEGER2012033001Serial for the new Zone.
zoneRefreshINTEGER36000Refresh for the new Zone.
zoneRetryINTEGER800Retry for the new Zone.
zoneExpireINTEGER6090000Expire for the new Zone.
zoneMinimumINTEGER10Minimum for the new Zone.
zoneSOASTRING200SOA for the new Zone.
zoneTTLSTRING3600TTL for the new Zone.
zoneEnableDNSSECINTEGER1Whether or not this new zone uses DNSSEC.
Example URL/api/v1/api.php?target=zone&action=add&zoneName=254.221.67.in-addr.arpa&zoneResourceId=123&zoneSerial=2012033001

delete

URL/api/v1/api.php?target=zone&action=delete
DescriptionPerforms a search over the Zones and Records dataset and deletes all found Zones, plus all associated Records of those Zones.
Returns

Examples:

SUCCESSFUL:{"success":1,"message":"Zones and Associated Records Deleted."}
ERROR:{"success":0, "message":"error message"}
Required ParametersNo specific parameter is required, however, one or more optional parameters must be used for a successful return
Optional Parameters
NameTypeExampleDescription
deleteZoneIdINTEGER123The Zone Id to search for.
deleteZoneNameSTRINGfooThe Zone Name to search for.
deleteZoneResourceIdINTEGER5The Resource Id to search for.
deleteZoneSerialINTEGER2012033001The Zone Serial to search for.
deleteZoneRefreshINTEGER36000The Zone Refresh to search for.
deleteZoneRetryINTEGER800The Zone Retry to search for.
deleteZoneExpireINTEGER6090000The Zone Expire to search for.
deleteZoneMinimumINTEGER10The Zone Minimum to search for.
deleteZoneSOASTRING200The Zone SOA to search for.
deleteZoneTTLINTEGER3600The Zone TTL to search for.
deleteZoneEnableDNSSECINTEGER1Search based on DNSSEC settings.
deleteRecordIdINTEGER123The Record Id to search for.
deleteRecordHostSTRING@The Record Host to search for.
deleteRecordTypeSTRINGNSThe Record Type to search for.
deleteRecordValueSTRINGns1.dns.6connect.com.The Record Value to search for.
deleteRecordDescriptionSTRINGDescriptionSearch based on Record Description.
deleteRecordTTLSTRING3600The Record TTL to search for.
deleteRecordZoneIdINTEGER123The parent zone ID
Example URL/api/v1/api.php?target=zone&action=delete&deleteZoneId=123

...