PTR
Set PTR Records
This endpoint sets PTR (Reverse DNS) records for specified IP addresses.
The api_host parameter, obtained from the "Create AUTH-session" response,
is dynamically set in the URL.
Provide the signature, kvm_id, valid_until, and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.
post/set/ptr
Request
- Base URLhttps://dns-api.edisglobal.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"signature": "session_signature_12345",
"kvm_id": "kvm_123456_789012",
"valid_until": "1737476000",
"api_host": "api_host.edisglobal.com",
"ip": {
"192.168.1.1": "hostname.example.com",
"192.168.1.2": "another-host.example.com"
}
}Response
PTR records set successfully.
Example response
{
"status": "success",
"message": "PTR records set successfully."
}Changes
No recorded changes to this operation across all 1 revision of this API.