This api is modelled after the hetzner rdns api.
Returns an array of all set rdns records.
[
{
"rdns": {
"ip": "123.123.123.123",
"ptr": "testen.de"
}
},
{
"rdns": {
"ip": "124.124.124.124",
"ptr": "your-server.de"
}
}
]
Status | Code |
---|---|
404 | NOT_FOUND |
Returns the current set rdns record.
{
"rdns": {
"ip": "123.123.123.123",
"ptr": "testen.de"
}
}
Status | Code |
---|---|
404 | IP_NOT_FOUND |
404 | RDNS_NOT_FOUND |
Set or update a rdns record.
{
"rdns": {
"ip": "123.123.123.123",
"ptr": "testen.de"
}
}
Status | Code |
---|---|
404 | IP_NOT_FOUND |
404 | RDNS_NOT_FOUND |
500 | RDNS_CREATE_FAILED |
500 | RDNS_UPDATE_FAILED |
Deletes the rdns record.
Status | Code |
---|---|
404 | IP_NOT_FOUND |
500 | RDNS_DELETE_FAILED |