rDNS

Available for user tokens and project keys

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

Name
Type
Description

projectId

string

Unique Id for the project

vmId

string

Unique Id for the virtual machine

Headers

Name
Type
Description

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

Name
Type
Description

projectId

string

Unique Id for the project

vmId

string

Unique Id for the virtual machine

Request Body

Name
Type
Description

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

Was this helpful?