Download OpenAPI specification:Download
API for managing SimpleDNS
Contact Support:
Email: [email protected]
Accept |
string
Example: application/json
|
{- "result": "success",
- "domains": [
- {
- "id": 1,
- "serviceid": 103,
- "domain": "5centscdn.dev",
- "meta": {
- "name": "5centscdn.dev",
- "type": "master",
- "hasBulk": false,
- "zone": "domain",
- "status": "1",
- "serial": "2022040401",
- "isUpdated": 0
}, - "soa": {
- "serialNumber": "2022040401",
- "primaryNS": "pns31.5centscdn.com",
- "refresh": "7200",
- "retry": "1800",
- "expire": "1209600",
- "defaultTTL": "3600"
}, - "dnssec": {
- "status": "1",
- "ds": [
- "5centscdn.dev. 3600 IN DS 55409 13 2 455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00"
], - "ds_records": [
- {
- "digest": "455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00",
- "key_tag": "55409",
- "algorithm": "13",
- "algorithm_name": "ECDSA SHA-256",
- "digest_type": "2",
- "digest_type_name": "SHA-256"
}
], - "dnskey": [
- "5centscdn.dev. 3600 IN DNSKEY 257 3 13 tBz7JTvOZiTIHO8tVrDDrCpfxJZHlagtGCnLvAxwSDV8XMIP2QaPcKP1+FjMc6kyR5nRwKOLtz+l6AnRwB/9ag=="
]
}, - "created_at": "2021-11-02 16:03:13",
- "updated_at": "2022-04-23 17:40:48",
- "validated_at": "2022-04-23 17:40:48",
- "deleted": null,
- "proxied": {
- "245212141": 248085168
}, - "linkedZones": {
- "258288550": {
- "id": 3061,
- "mode": "http"
}
}, - "nameservers": [
- [
- "pns31.5centscdn.com",
- "pns32.5centscdn.com",
- "pns33.5centscdn.com",
- "pns34.5centscdn.com"
]
]
}
]
}
Accept |
string
Example: application/json
|
domain |
string
New DNS Domain |
_METHOD |
string
masking post -> put request |
{- "status": {
- "type": "string",
- "description": "- Represents the status of the operation.\n - It indicates whether the action was successful or encountered an error.\n - Common values might include 'Success', 'Error', etc., to indicate the result of the request.",
- "example": "Error"
}, - "statusDescription": {
- "type": "string",
- "description": "- Provides a detailed explanation of the status.\n - It gives more context about the result of the operation.\n - Example values can include descriptions like 'Domain Already Exists' or 'Operation Failed due to timeout.'",
- "example": "Domain Already Exists"
}
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
status |
integer
1: Enable, 0: Disable |
{- "status": "Success",
- "statusDescription": "The zone was activated!"
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
_METHOD |
string
casting post -> delete |
{- "status": "Success",
- "statusDescription": "Domain zone vivek.com was disabled. Will be fully removed after usage billing."
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "2022-03-25": 2339
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "2022-03-25": 2339
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb",
- "03": "Mar",
- "04": "Apr"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "01": 0,
- "02": 0,
- "03": 53854,
- "04": 23017
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb",
- "03": "Mar",
- "04": "Apr"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "2022": "76871"
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb",
- "03": "Mar",
- "04": "Apr"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "10": 2899,
- "11": 1828,
- "12": 1951,
- "13": 1756,
- "14": 1643,
- "15": 2364,
- "16": 1550,
- "17": 1935,
- "18": 1962,
- "19": 2170,
- "20": 1901,
- "21": 2119,
- "22": 1875,
- "23": 2288,
- "24": 1978,
- "25": 2339,
- "26": 2147,
- "27": 1750,
- "28": 2031,
- "29": 2339,
- "30": 2486,
- "31": 1517,
- "01": 0,
- "02": 0,
- "03": 0,
- "04": 465,
- "05": 1076,
- "06": 1152,
- "07": 1316,
- "08": 1000,
- "09": 4017
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb",
- "03": "Mar",
- "04": "Apr"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "10": 19,
- "11": 19,
- "12": 33,
- "13": 40,
- "14": 23,
- "15": 14,
- "16": 27,
- "17": 19,
- "18": 81,
- "19": 39,
- "20": 19,
- "21": 22,
- "22": 15,
- "23": 34,
- "00": 40,
- "01": 36,
- "02": 9,
- "03": 19,
- "04": 26,
- "05": 27,
- "06": 35,
- "07": 31,
- "08": 36,
- "09": 22
}, - "options": {
- "months": {
- "0": "-",
- "01": "Jan",
- "02": "Feb",
- "03": "Mar",
- "04": "Apr"
}, - "hourly": {
- "till": "2022-03-24"
}, - "years": [
- [
- "2022",
- "2021"
]
]
}, - "message": null
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "status": "1",
- "ds": [
- [
- "5centscdn.dev. 3600 IN DS 55409 13 2 455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00"
]
], - "ds_records": [
- {
- "digest": "455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00",
- "key_tag": "55409",
- "algorithm": "13",
- "algorithm_name": "ECDSA SHA-256",
- "digest_type": "2",
- "digest_type_name": "SHA-256"
}
], - "dnskey": [
- [
- "5centscdn.dev. 3600 IN DNSKEY 257 3 13 tBz7JTvOZiTIHO8tVrDDrCpfxJZHlagtGCnLvAxwSDV8XMIP2QaPcKP1+FjMc6kyR5nRwKOLtz+l6AnRwB/9ag==",
- "5centscdn.dev. 3600 IN DNSKEY 256 3 13 YHo/N5SC5e8MeU/lI8iT6HaELYacoaNGO4u8FjhS9/hRNB6KdvFIDB+ovT8ipwY1U414RKfmXtciYYnzjrIU7w=="
]
]
}
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
status |
integer
1: activate, 0: deactivate |
{- "status": "Success",
- "statusDescription": "The DNSSEC is activated for your zone. The keys will be generated soon."
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
{- "data": {
- "serialNumber": "2022042309",
- "primaryNS": "pns31.5centscdn.net",
- "refresh": "7200",
- "retry": "1800",
- "expire": "1209600",
- "defaultTTL": "3600"
}
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
primaryNS |
string
|
adminMail |
string
|
refresh |
string
|
retry |
string
|
expire |
string
|
defaultTTL |
string
|
{- "primaryNS": "pns31.5centscdn.com",
- "refresh": "3600",
- "retry": "1800",
- "expire": "1209600",
- "defaultTTL": "3600"
}
{- "status": "Success",
- "statusDescription": "The SOA record was modified successfully."
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
$ORIGIN 5centscdn.dev. @ 3600 IN SOA pns31.5centscdn.com. support.5centscdn.com. 2022042311 3600 1800 1209600 3600 @ 3600 IN NS pns31.5centscdn.com. @ 3600 IN NS pns32.5centscdn.com. @ 3600 IN NS pns33.5centscdn.com. @ 3600 IN NS pns34.5centscdn.com. ww3 60 IN A 51.222.141.228 www 60 IN A 51.222.141.228 cdn 3600 IN CNAME pull-2871.5centscdn.com. _acme-challenge.ww3 3600 IN TXT "fC95Tjct5eB1a4qUe7UpPSt4un6ivngEvJrKABKtm24" test 60 IN A 2.2.2.2 ;@ 60 IN ALIAS pull-2871.5centscdn.com @ 60 IN A 23.217.99.152 @ 60 IN A 23.217.99.162 @ 60 IN AAAA 2a02:26f0:d7::17d9:63c0 @ 60 IN AAAA 2a02:26f0:d7::17d9:63cb vikesh 60 IN A 7.8.9.1 testt 60 IN A 8.8.8.8 test2 60 IN A 8.8.8.8 258288550proxy 60 IN CNAME www.google.com. proxy 300 IN CNAME pull-3061.5centscdn.com.
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
format |
string
bind/tinydns |
file |
string <binary>
|
delete-existing-records |
integer
0: No, 1: Yes |
record-types[] |
string
|
{- "status": "Success",
- "statusDescription": "The records of 5centscdn.dev were added successfully."
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
mail-forward-id |
string
mail forward id |
_METHOD |
string
post -> delete |
{- "status": "Success",
- "statusDescription": "The mail forward has been deleted successfully."
}
dnsId
required
|
string
|
limit |
integer
Example: limit=10
|
page |
integer
Example: page=1
|
host |
string
|
type |
string
|
Accept |
string
Example: application/json
|
{- "domain": {
- "id": 1,
- "serviceid": 103,
- "domain": "5centscdn.dev",
- "meta": {
- "name": "5centscdn.dev",
- "type": "master",
- "hasBulk": false,
- "zone": "domain",
- "status": "1",
- "serial": "2022040401",
- "isUpdated": 0
}, - "soa": {
- "serialNumber": "2022040401",
- "primaryNS": "pns31.5centscdn.com",
- "refresh": "7200",
- "retry": "1800",
- "expire": "1209600",
- "defaultTTL": "3600"
}, - "dnssec": {
- "status": "1",
- "ds": [
- [
- "5centscdn.dev. 3600 IN DS 55409 13 2 455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00"
]
], - "ds_records": [
- {
- "digest": "455B1F2D3A48680339C44740F9C1653B08288733F17E825CE43D2F19E2EE4F00",
- "key_tag": "55409",
- "algorithm": "13",
- "algorithm_name": "ECDSA SHA-256",
- "digest_type": "2",
- "digest_type_name": "SHA-256"
}
], - "dnskey": [
- [
- "5centscdn.dev. 3600 IN DNSKEY 257 3 13 tBz7JTvOZiTIHO8tVrDDrCpfxJZHlagtGCnLvAxwSDV8XMIP2QaPcKP1+FjMc6kyR5nRwKOLtz+l6AnRwB/9ag==",
- "5centscdn.dev. 3600 IN DNSKEY 256 3 13 YHo/N5SC5e8MeU/lI8iT6HaELYacoaNGO4u8FjhS9/hRNB6KdvFIDB+ovT8ipwY1U414RKfmXtciYYnzjrIU7w=="
]
]
}, - "created_at": "2021-11-02 16:03:13",
- "updated_at": "2022-04-23 18:04:46",
- "validated_at": "2022-04-23 18:04:46",
- "deleted": null,
- "proxied": {
- "245212141": 245212141,
- "248085168": 248085168
}, - "linkedZones": {
- "258288550": {
- "id": 3061,
- "mode": "http"
}
}, - "nameservers": [
- "pns31.5centscdn.com"
]
}, - "pageMax": 3,
- "records": {
- "254429509": {
- "id": "254429509",
- "type": "NS",
- "host": "",
- "record": "pns31.cloudns.net",
- "failover": "0",
- "ttl": "3600",
- "status": 1
}
}
}
dnsId
required
|
string
|
Accept |
string
Example: application/json
|
_METHOD |
string
post -> put |
type |
string
A, AAAA, MX, CNAME, TXT, NS, SRV, WR, RP, SSHFP, ALIAS, CAA, TLSA, CERT, DS for domain names, NS and PTR for reversed zones, and NAPTR, NS, CNAME for ENUM zones |
ttl |
integer
Available TTL's: 60 = 1 minute 300 = 5 minutes 900 = 15 minutes 1800 = 30 minutes 3600 = 1 hour 21600 = 6 hours 43200 = 12 hours 86400 = 1 day 172800 = 2 days 259200 = 3 days 604800 = 1 week 1209600 = 2 weeks 2592000 = 1 month |
host |
string
host / subdomain |
record |
string
Record you want to add. Example 10.10.10.10 or cname.5centscdn.com |
priority |
string
Priority for MX or SRV record |
weight |
string
Weight for SRV record |
port |
string
Port for SRV record |
frame |
string
0 or 1 for Web redirects to disable or enable frame |
frame-title |
string
Title if frame is enabled in Web redirects |
frame-keywords |
string
Keywords if frame is enabled in Web redirects |
frame-description |
string
Description if frame is enabled in Web redirects |
mobile-meta |
string
Mobile responsive meta tags if Web redirects with frame is enabled. Default value - 0. |
save-path |
string
0 or 1 for Web redirects |
redirect-type |
string
301 or 302 for Web redirects if frame is disabled |
string
E-mail address for RP records |
|
txt |
string
Domain name for TXT record used in RP records |
algorithm |
string
The algorithm of the referenced DS record. |
fptype |
string
Type of the SSHFP algorithm. Required for SSHFP records only. |
status |
string
Set to 1 to create the record active or to 0 to create it inactive. If omitted the record will be created active. |
caa_flag |
string
0 - Non critical or 128 - Critical |
caa_type |
string
Type of CAA record. The available flags are issue, issuewild, iodef. |
caa_value |
string
If caa_type is issue, caa_value can be hostname or ";". If caa_type is issuewild, it can be hostname or ";". If caa_type is iodef, it can be "mailto:someemail@address.tld, http://example.tld or http://example.tld. |
tlsa_usage |
string
(From 0 to 3) It shows the provided association that will be used. |
tlsa_selector |
string
(From 0 to 1) It specifies which part of the TLS certificate presented by the server will be matched against the association data |
tlsa_matching_type |
string
(From 0 to 2) It specifies how the certificate association is presented. |
key-tag |
string
A numeric value used for identifying the referenced DS record. |
digest-type |
string
The cryptographic hash algorithm is used to create the Digest value. |
order |
string
Specifies the order in which multiple NAPTR records must be processed (low to high). |
pref |
string
Specifies the order (low to high) in which NAPTR records with equal Order values should be processed. |
flag |
string
Controls aspects of the rewriting and interpretation of the fields in the record. |
params |
string
Specifies the service parameters applicable to this delegation path. |
regexp |
string
Contains a substitution expression that is applied to the original string, held by the client in order to construct the next domain name to lookup. |
replace |
string
Specifies the next domain name (fully qualified) to query for depending on the potential values found in the flags field. |
cert-type |
string
Type of the Certificate/CRL |
cert-key-tag |
string
A numeric value (0-65535), used the efficiently pick a CERT record. |
cert-algorithm |
string
Identifies the algorithm, used to produce a legitimate signature. |
{- "status": "Success",
- "statusDescription": "The record was added successfully.",
- "data": {
- "id": 258289692
}
}
dnsId
required
|
string
|
recordid
required
|
string
|
Accept |
string
Example: application/json
|
_METHOD |
string
|
{- "status": "Success",
- "statusDescription": "The record was deleted successfully."
}
dnsId
required
|
string
|
recordid
required
|
string
|
Accept |
string
Example: application/json
|
status |
integer
1: Enable, 0: Disable |
{- "status": "Success",
- "statusDescription": "Record deactivated"
}
dnsId
required
|
string
|
recordid
required
|
string
|
Accept |
string
Example: application/json
|
mode |
string
1: Enable, 0: Disable |
optimize |
string
|
ssl |
string
|
cache |
string
|
expiry |
string
|
cachecontrol |
string
|
usestale |
string
|
revalidate |
string
|
scheme |
string
|
port |
integer
|
status |
integer
|
type |
string
|
host |
string
|
record |
string
|
ttl |
integer
|
{- "status": "Success",
- "statusDescription": "CDN Proxy enabled. <a href='/dashboard/103/zones/http/pull/3062' target='_blank'>Pull Zone #3062</a>"
}
dnsId
required
|
string
|
recordid
required
|
string
|
Accept |
string
Example: application/json
|
{- "status": {
- "type": "string",
- "description": "- Represents the status of the operation or request.\n - It shows whether the action (like retrieving or activating a record) was successful or failed.\n - Example values: 'Success' indicates the operation was successful, while 'Failed' shows there was an issue with the request.",
- "example": "Failed"
}, - "statusDescription": {
- "type": "string",
- "description": "- Provides a more detailed explanation of the status.\n - It clarifies the reason for the status result, offering context to the user.\n - Example: 'The DynamicURL is only for A and AAAA record types.' indicates that the requested URL is limited to certain record types. Another example might be: 'Invalid credentials provided.'",
- "example": "The DynamicURL is only for A and AAAA record types."
}
}
dnsId
required
|
string
|
recordid
required
|
string
|
Accept |
string
Example: application/json
|
_METHOD |
string
|
{- "status": "Success",
- "statusDescription": "The DynamicURL of ww3.5centscdn.dev was deactivated."
}