Loading
Cart Total
$0.00
-
Your shopping cart is empty
Loading
Hello! Log in Your Account
New customer? Start here
DNZ Zones and Records
Domain Management
Domain Contacts
Name Server Groups
DNZ Zones and Records
Email and Web Forwarding
SSL Certificates
Create and manage DNS templates for use with domain names.
Become a ResellerFilter:
* You will be charged every time this command is run.
Gets all DNS templates on an account
Back to top
Request Details
Response Details
This command has no URL/Query String parameters
200 Response
{
"result" : [
{
"created_on" : "2023-06-02",
"is_default" : false,
"name" : "Default NS Records",
"records" : [],
"updated_on" : "2023-06-02",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
}
],
"status_code" : 200,
"status_message" : "OK"
}
Gets the default DNS template on an account
Back to top
Request Details
Response Details
This command has no URL/Query String parameters
200 Response
{
"result" : [
{
"created_on" : "2023-06-02",
"is_default" : false,
"name" : "Default NS Records",
"records" : [],
"updated_on" : "2023-06-02",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
}
],
"status_code" : 200,
"status_message" : "OK"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Gets a specific DNS template on an account
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the DNS template to be queried
200 Response
{
"result" : {
"created_on" : "2023-06-02",
"is_default" : false,
"name" : "Default NS Records",
"records" : [],
"updated_on" : "2023-06-02",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 200,
"status_message" : "OK"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Creates a new DNS template
Back to top
Request Details
Response Details
This command has no URL/Query String parameters
POST body
Name
Type
Required
is_default
boolean
True
The default template will be assigned to new domains and transfers where applicable
name
String
True
The name for this DNS template
records
Array of DnsTemplateRecord
True
The list of DNS records to apply to the domain when using this template
priority
Integer
True
The priority for this record, only applicable for SRV and MX records
record_content
String
True
The value for this DNS record, an IP address fo A records or a string for others
record_name
String
True
The complete hostname for this DNS record
record_type
String
True
The type of DNS record, one of (A, AAAA, CNAME, TXT, MX, SRV)
ttl
Integer
True
The TTL for this record in seconds (min = 3600, max = 2419200)
JSON all-fields example:
{
"is_default" : false,
"name" : "Default NS Records",
"records" : []
}
201 Response
{
"result" : {
"created_on" : "2023-06-02",
"is_default" : false,
"name" : "Default NS Records",
"records" : [],
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 201,
"status_message" : "Created"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Deletes the specified DNS template
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the DNS template to be deleted
204 Response
{
"result" : {},
"status_code" : 204,
"status_message" : "No Content"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Update an existing DNS template
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the DNS template to be updated
PUT body
Name
Type
Required
is_default
boolean
True
The default template will be assigned to new domains and transfers where applicable
name
String
True
The name for this DNS template
records
Array of DnsTemplateRecord
True
The list of DNS records to apply to the domain when using this template
priority
Integer
True
The priority for this record, only applicable for SRV and MX records
record_content
String
True
The value for this DNS record, an IP address fo A records or a string for others
record_name
String
True
The complete hostname for this DNS record
record_type
String
True
The type of DNS record, one of (A, AAAA, CNAME, TXT, MX, SRV)
ttl
Integer
True
The TTL for this record in seconds (min = 3600, max = 2419200)
JSON all-fields example:
{
"is_default" : false,
"name" : "Default NS Records",
"records" : []
}
200 Response
{
"result" : {
"created_on" : "2023-06-02",
"is_default" : false,
"name" : "Default NS Records",
"records" : [],
"updated_on" : "2023-06-02",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 200,
"status_message" : "OK"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}