rDNS

Available for user tokens and project keys

Stacket Group complies with the RIPE NCC IPv4 PTR record guidelines, therefore our systems automatically does a DNS record check to make sure its a 1:1 mapping otherwise the request will be denied.

If our system cannot find an A record matching the rDNS requested domain, the request will be denied with following error message "A record does not match %ipv4 address%"

Retrieve rDNS records

GET https://api.suble.io/projects/:projectId/vm/:vmId/rdns

This endpoint will respond with a list of all IPv4 addresses connected to the virtual machine along with their PTR record.

Path Parameters

NameTypeDescription

projectId

string

Unique Id for the project

vmId

string

Unique Id for the virtual machine

Headers

NameTypeDescription

Authorization

string

User token or project key

[
    {
        "ipv4": String,
        "record": String
    }
]

Modify rDNS record

POST https://api.suble.io/projects/:projectId/vm/:vmId/rdns

This endpoint is used to modify a PTR record of an virtual machine ipv4 address

Path Parameters

NameTypeDescription

projectId

string

Unique Id for the project

vmId

string

Unique Id for the virtual machine

Request Body

NameTypeDescription

Ipv4

string

IPv4 address of the record you want to modify

record

string

The domain you want the record changed to

{
    "message": String
}

Last updated