Set reverse DNS of a virtual server
The PTR names of a vServer's IPv4 and/or IPv6 address.
manitu_vserver_ptr_set on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Sets the reverse DNS (PTR) name of a virtual server's IPv4 and/or IPv6 address, by its vserver_id from manitu_vserver_list. For mail sent from the server, the name should resolve back to the same address (A/AAAA record) - say so if it does not. Runs in the background (see pending_workflow_list of manitu_vserver_get); the new names appear there once done. A name that is no hostname, or a record for an address the server lacks, is refused per field. Refused with a conflict while another PTR change runs or while the server cannot be changed.
Provide at least one of: ptr_record_ipv4, ptr_record_ipv6.
Arguments
vserver_idinteger | stringrequiredThe vserver_id from manitu_vserver_list - never guess one.
ptr_record_ipv4stringThe name its IPv4 address resolves back to, e.g. "mail.example.com". Left out: unchanged.
ptr_record_ipv6stringThe name its IPv6 address resolves back to. Left out: unchanged.
Result structuredContent, checked against the schema
workflowstringrequiredWhat is being done, e.g. a reboot.
workflow_idstringrequiredThe id of this run of the workflow.
created_atstring | nullrequiredWhen it was asked for.
started_atstring | nullrequiredWhen it started; null while it waits for the next run - usually a minute or two, at times longer. Nothing to tell the customer unless asked.
workflow_tokenstring | nullrequiredPass it to manitu_workflow_get to see how far the workflow is - as it is, never built or changed. A secret of this workflow: do not show it to anyone. null if there is none.
taskobjectrequiredThe task the customer panel polls for its progress.
task.idintegerrequiredtask.authstringrequiredAuthentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
vserver_idinteger | stringrequiredThe vserver_id from manitu_vserver_list - never guess one.
ptr_record_ipv4stringThe name its IPv4 address resolves back to, e.g. "mail.example.com". Left out: unchanged.
ptr_record_ipv6stringThe name its IPv6 address resolves back to. Left out: unchanged.
Response in data; the rest of the body as on every call
workflowstringrequiredWhat is being done, e.g. a reboot.
workflow_idstringrequiredThe id of this run of the workflow.
created_atstring | nullrequiredWhen it was asked for.
started_atstring | nullrequiredWhen it started; null while it waits for the next run - usually a minute or two, at times longer. Nothing to tell the customer unless asked.
workflow_tokenstring | nullrequiredPass it to manitu_workflow_get to see how far the workflow is - as it is, never built or changed. A secret of this workflow: do not show it to anyone. null if there is none.
taskobjectrequiredThe task the customer panel polls for its progress.
task.idintegerrequiredtask.authstringrequiredStatuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.