{
"status": "error",
"error": "Unexpected server error."
}
Set PTR
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.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EDIS Global Docs","colors":{"primary":"#F96002","light":"#F96002","dark":"#d55200"},"logo":{"light":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/light.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=5e8f0b38c95369976ff43eed9ab906bf","dark":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/dark.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=e988a00463174b16649b5565b2443220"},"favicon":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/favicon.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=a8ed964ff7aa69dc8e4e41e376d4647a","navbar":{"links":[{"href":"https://www.edisglobal.com/blog","label":"Blog"},{"href":"https://www.edisglobal.com/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://manage.edisglobal.com/clientarea.php"}},"footer":{"socials":{"x":"https://x.com/edisat"}},"search":{"prompt":"Search the docs"},"seo":{"indexing":"navigable"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"intercom":{"appId":"n4lbl81j"}},"contextual":{"options":["view","chatgpt","claude","perplexity","copy","assistant","grok","aistudio","windsurf"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Explore VPS Hosting Plans \u0026 Locations","icon":"server","href":"https://www.edisglobal.com/vps-hosting"},{"anchor":"Why Our VPS Infrastructure Is Different","icon":"user","href":"https://www.edisglobal.com/why-edis-global"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edisglobal-b1e34a56","hasAudioNarration":false,"actualSubdomain":"edisglobal-b1e34a56","customDomains":["docs.edisglobal.com"],"gitSource":{"type":"github","owner":"gexpl0rer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3405c0184476a8fdb64c0","collectionId":"edef6a11-23de-4d40-ba32-3cdcc595868f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3405c0184476a8fdb64c0"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae3405c0184476a8fdb64c0","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":179},{"language":"default","tag":"FAQ","count":85},{"language":"default","tag":"Advanced Setup Guides","count":39},{"language":"default","tag":"Management API Endpoints","count":39},{"language":"default","tag":"Billing \u0026 Lifecycle","count":33},{"language":"default","tag":"VPS Management","count":24},{"language":"default","tag":"IP Addresses","count":22},{"language":"default","tag":"Upgrades, Downgrades","count":13},{"language":"default","tag":"Order API Endpoints","count":13},{"language":"default","tag":"Order-API","count":13}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@edisglobal.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"starterQuestions":[{"_id":"6a70aabd56fdf128789eb6d0","deploymentId":"677932f44b81021a9ae821f7","questionText":"How can I buy additional traffic?","status":"active","generatedBy":"manual","createdAt":"2026-08-03T14:50:37.639Z","updatedAt":"2026-08-03T14:50:37.639Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--brand-primary:#000;--brand-secondary:#5e5f6e;--brand-accent:#f96002;--brand-accent-dark:#d55200;--brand-accent-light:#ffd7bf;--brand-emphasis:#fafafa;--brand-border:#e9e9e9;--brand-error:#f73826;--brand-error--light:#ffc3bd;--brand-success:#089c05;--brand-success-light:#bcf6bb;--brand-disabled:#aaa8a8;--brand-gradient:linear-gradient(to bottom, #fa8837, #f96103);--brand-gradient-reverse:linear-gradient(to top, #fa8837, #f96103)}.custom-cta-button{background-color:var(--brand-accent);padding:5px 10px;border-radius:4px}.custom-cta-button:hover{background-color:var(--brand-accent-dark)}.custom-cta-button a{text-decoration:none;color:#fff;border:0}#navigation-items ul>li{margin-left:15px}#navigation-items ul>li>div.group{font-weight:700}"}],"page":{"pagePath":"management-api-reference/ptr/set-ptr-records","slug":"/management-api-reference/ptr/set-ptr-records","pageMetadata":{"openapi":"post /set/ptr","title":"Set PTR","sidebarTitle":"Set PTR","description":"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. \nThe `api_host` parameter, obtained from the **\"Create AUTH-session\"** response, \nis dynamically set in the URL. \nProvide the `signature`, `kvm_id`, `valid_until`, and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.\n","href":"/management-api-reference/ptr/set-ptr-records"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n br: \"br\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"This endpoint sets PTR (Reverse DNS) records for specified IP addresses.\", _jsx(_components.br, {}), \"\\n\", \"The \", _jsx(_components.code, {\n children: \"api_host\"\n }), \" parameter, obtained from the \", _jsx(_components.strong, {\n children: \"“Create AUTH-session”\"\n }), \" response,\", _jsx(_components.br, {}), \"\\n\", \"is dynamically set in the URL.\", _jsx(_components.br, {}), \"\\n\", \"Provide the \", _jsx(_components.code, {\n children: \"signature\"\n }), \", \", _jsx(_components.code, {\n children: \"kvm_id\"\n }), \", \", _jsx(_components.code, {\n children: \"valid_until\"\n }), \", and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"post /set/ptr","title":"Set PTR","sidebarTitle":"Set PTR","description":"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. \nThe `api_host` parameter, obtained from the **\"Create AUTH-session\"** response, \nis dynamically set in the URL. \nProvide the `signature`, `kvm_id`, `valid_until`, and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.\n","href":"/management-api-reference/ptr/set-ptr-records"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/edisglobal-b1e34a56/36a9e7f1c95b82ff/pages/api/download.js"],"openApiReferenceData":{"operation":{"tags":["PTR"],"summary":"Set PTR Records","description":"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. \nThe `api_host` parameter, obtained from the **\"Create AUTH-session\"** response, \nis dynamically set in the URL. \nProvide the `signature`, `kvm_id`, `valid_until`, and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.\n","operationId":"setPTR","requestBody":"fcd9fb62-31bb-4ead-90ac-67078250b441","responses":{"200":"c2d7959a-c94a-4914-84c7-bbe859700e0c","400":"85ea6a5d-191d-4f62-96ee-cfb265cc9c8b","401":"824bc11f-bc95-4f8c-876a-5a2dfd981e48","500":"142478ac-a706-4e51-83d5-4e92a84da102"},"method":"post","type":"path","servers":["c4eb5f15-c112-4ca1-8ce0-f779e1127301"],"security":[],"path":"/set/ptr","baseUrlOptions":["https://dns-api.edisglobal.com"],"title":"Set PTR Records","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Required parameters to set PTR records.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"signature":{"type":"string","description":"The session signature obtained from the \"Create AUTH-session\" call.","example":"session_signature_12345","uniqueKey":"signature","typeLabel":"string"},"kvm_id":{"type":"string","description":"The unique identifier of the KVM to set PTR records for.","example":"kvm_123456_789012","uniqueKey":"kvm_id","typeLabel":"string"},"valid_until":{"type":"string","description":"The expiration timestamp of the session obtained from the \"Create AUTH-session\" call.","example":"1737476000","uniqueKey":"valid_until","typeLabel":"string"},"api_host":{"type":"string","description":"The API host URL obtained from the \"Create AUTH-session\" call.","example":"api_host.edisglobal.com","uniqueKey":"api_host","typeLabel":"string"},"ip":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"ip.additionalProperties","typeLabel":"string"},"description":"A JSON-encoded object of IP addresses and their associated hostnames.","example":{"192.168.1.1":"hostname.example.com","192.168.1.2":"another-host.example.com"},"uniqueKey":"ip","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"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"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c2d7959a-c94a-4914-84c7-bbe859700e0c":{"description":"PTR records set successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The status of the operation.","example":"success","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"Confirmation message for set PTR records.","example":"PTR records set successfully.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"PTR records set successfully."}}},"exampleType":"generated"}},"exampleType":"generated"},"85ea6a5d-191d-4f62-96ee-cfb265cc9c8b":{"description":"Bad Request - Missing or invalid parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Operation status.","example":"error","uniqueKey":"status","typeLabel":"string"},"error":{"type":"string","description":"Error message describing the issue.","example":"Invalid IP address format.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","error":"Invalid IP address format."}}},"exampleType":"generated"}},"exampleType":"generated"},"824bc11f-bc95-4f8c-876a-5a2dfd981e48":{"description":"Unauthorized - Invalid or expired session.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Operation status.","example":"error","uniqueKey":"status","typeLabel":"string"},"error":{"type":"string","description":"Error message for unauthorized access.","example":"Session expired.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","error":"Session expired."}}},"exampleType":"generated"}},"exampleType":"generated"},"142478ac-a706-4e51-83d5-4e92a84da102":{"description":"Internal Server Error - An unexpected error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Operation status.","example":"error","uniqueKey":"status","typeLabel":"string"},"error":{"type":"string","description":"Error message for internal server error.","example":"Unexpected server error.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","error":"Unexpected server error."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"c4eb5f15-c112-4ca1-8ce0-f779e1127301":{"url":"https://dns-api.edisglobal.com","description":"Reverse DNS API Server"}}},"originalFileLocation":"management-openapi.json"},"subdomain":"edisglobal-b1e34a56","siteName":"EDIS Global Docs","title":"Set PTR - EDIS Global Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-17T10:28:47.191Z","gitLastModified":"2025-12-17T08:05:14.000Z","originalFileLocation":"management-api-reference/ptr/set-ptr-records.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. The api_host parameter, obtained from the \u0026quot;Create AUTH-session\u0026quot; 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.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set PTR - EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. The api_host parameter, obtained from the \u0026quot;Create AUTH-session\u0026quot; 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.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edisglobal-b1e34a56.mintlify.app/_mintlify/api/og/v2?division=PTR\u0026amp;title=Set+PTR\u0026amp;description=This+endpoint+sets+PTR+%28Reverse+DNS%29+records+for+specified+IP+addresses.++%0AThe+%60api_host%60+parameter%2C+obtained+from+the+**%22Create+AUTH-session%22**+response%2C++%0Ais+\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=a33fa719b6a33979e6a915374a2673f3eae8620e5c5609602fdfe8ad06e55fa7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set PTR - EDIS Global Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint sets PTR (Reverse DNS) records for specified IP addresses. The api_host parameter, obtained from the \u0026quot;Create AUTH-session\u0026quot; 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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edisglobal-b1e34a56.mintlify.app/_mintlify/api/og/v2?division=PTR\u0026amp;title=Set+PTR\u0026amp;description=This+endpoint+sets+PTR+%28Reverse+DNS%29+records+for+specified+IP+addresses.++%0AThe+%60api_host%60+parameter%2C+obtained+from+the+**%22Create+AUTH-session%22**+response%2C++%0Ais+\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=a33fa719b6a33979e6a915374a2673f3eae8620e5c5609602fdfe8ad06e55fa7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F96002\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/management-api-reference/ptr/set-ptr-records.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.edisglobal.com/#organization\",\"name\":\"EDIS Global Docs\",\"url\":\"https://docs.edisglobal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/light.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=5e8f0b38c95369976ff43eed9ab906bf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.edisglobal.com#website\",\"name\":\"EDIS Global Docs\",\"url\":\"https://docs.edisglobal.com\",\"publisher\":{\"@id\":\"https://docs.edisglobal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records#webpage\",\"url\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records\",\"name\":\"Set PTR\",\"description\":\"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.\",\"dateModified\":\"2025-12-17T08:05:14.000Z\",\"isPartOf\":{\"@id\":\"https://docs.edisglobal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PTR\",\"item\":\"https://docs.edisglobal.com/management-api-reference/ptr/get-ptr-records\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set PTR\",\"item\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records#apireference\",\"headline\":\"Set PTR\",\"name\":\"Set PTR\",\"description\":\"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.\",\"url\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records\",\"mainEntityOfPage\":{\"@id\":\"https://docs.edisglobal.com/management-api-reference/ptr/set-ptr-records#webpage\"},\"dateModified\":\"2025-12-17T08:05:14.000Z\",\"publisher\":{\"@id\":\"https://docs.edisglobal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.edisglobal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EDIS Global Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"EDIS Global Docs","nav":{"global":{"anchors":[{"anchor":"Explore VPS Hosting Plans \u0026 Locations","icon":"server","href":"https://www.edisglobal.com/vps-hosting"},{"anchor":"Why Our VPS Infrastructure Is Different","icon":"user","href":"https://www.edisglobal.com/why-edis-global"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/everything-vps"}]},{"tab":"Order API Endpoints","pages":[{"title":"Order API Endpoints","href":"/order-api-reference/order-api-welcome"}]},{"tab":"Management API Endpoints","pages":[{"title":"How to use the EDIS Global Management API","sidebarTitle":"Management API guide","href":"/management-api"},{"group":"Authentication","pages":[{"openapi":"post /kvm/v2/get/auth","title":"Create auth session","sidebarTitle":"Create auth session","href":"/management-api-reference/authentication/create-auth-session"}]},{"group":"Power Management","pages":[{"openapi":"post /kvm/v2/set/reset","title":"Hard reset","sidebarTitle":"Hard reset","href":"/management-api-reference/power-management/hard-reset"},{"openapi":"post /kvm/v2/set/soft_reset","title":"Soft reset","sidebarTitle":"Soft reset","href":"/management-api-reference/power-management/soft-reset"},{"openapi":"post /kvm/v2/get/power","title":"Power state","sidebarTitle":"Power state","href":"/management-api-reference/power-management/power-state"},{"openapi":"post /kvm/v2/set/poweron","title":"Power on","sidebarTitle":"Power on","href":"/management-api-reference/power-management/power-on"},{"openapi":"post /kvm/v2/set/poweroff","title":"Power off","sidebarTitle":"Power off","href":"/management-api-reference/power-management/power-off"}]},{"group":"Installation","pages":[{"openapi":"post /kvm/v2/get/isos","title":"ISO images","sidebarTitle":"ISO images","href":"/management-api-reference/installation/iso-installation"},{"openapi":"post /kvm/v2/set/reinstall","title":"Reinstall","sidebarTitle":"Reinstall","href":"/management-api-reference/installation/reinstall"},{"openapi":"post /kvm/v2/set/mount","title":"Mount ISO","sidebarTitle":"Mount ISO","href":"/management-api-reference/installation/mount-iso"},{"openapi":"post /kvm/v2/set/umount","title":"Umount ISO","sidebarTitle":"Umount ISO","href":"/management-api-reference/installation/unmount-iso"},{"openapi":"post /kvm/v2/set/download_iso","title":"Custom ISO","sidebarTitle":"Custom ISO","href":"/management-api-reference/installation/download-custom-iso"},{"openapi":"post /kvm/v2/upload_qcow2","title":"Replace qcow2","sidebarTitle":"Replace qcow2","href":"/management-api-reference/installation/upload-and-replace-qcow2"},{"openapi":"post /kvm/v2/get/images","title":"Auto images","sidebarTitle":"Auto images","href":"/management-api-reference/installation/get-autoinstall-images"}]},{"group":"Traffic Pool","pages":[{"openapi":"post /kvm/v2/set/autohydration_enable","title":"Enable auto-hydration","sidebarTitle":"Enable hydration","href":"/management-api-reference/traffic-pool/enable-auto-hydration"},{"openapi":"post /kvm/v2/set/autohydration_disable","title":"Disable auto-hydration","sidebarTitle":"Disable hydration","href":"/management-api-reference/traffic-pool/disable-auto-hydration"},{"openapi":"post /kvm/v2/get/autohydration_status","title":"Get auto-hydration status","sidebarTitle":"Hydration status","href":"/management-api-reference/traffic-pool/get-auto-hydration-status"},{"openapi":"post /kvm/v2/get/pool_traffic","title":"Look up traffic pool size","sidebarTitle":"Pool size","href":"/management-api-reference/traffic-pool/get-global-traffic-pool-size"},{"openapi":"post /kvm/v2/get/refill_log","title":"Get hydration log","sidebarTitle":"Hydration log","href":"/management-api-reference/traffic-pool/get-hydration-log"},{"openapi":"post /kvm/v2/set/additional_pool_traffic","title":"Assign traffic","sidebarTitle":"Assign traffic","href":"/management-api-reference/traffic-pool/assign-traffic-resources-from-global-pool"}]},{"group":"Settings","pages":[{"openapi":"post /kvm/v2/get/config","title":"Get configuration","sidebarTitle":"Get configuration","href":"/management-api-reference/settings/get-configuration"},{"openapi":"post /kvm/v2/set/config","title":"Set configuration","sidebarTitle":"Set configuration","href":"/management-api-reference/settings/configure-settings"}]},{"group":"Collect Information","pages":[{"openapi":"post /kvm/v2/get/screenshot","title":"VNC screenshot","sidebarTitle":"VNC screenshot","href":"/management-api-reference/collect-information/get-vps-screenshot"},{"openapi":"post /kvm/v2/get/all_details","title":"VPS details","sidebarTitle":"VPS details","href":"/management-api-reference/collect-information/get-all-vps-details"},{"openapi":"post /kvm/v2/get/traffic","title":"Traffic usage","sidebarTitle":"Traffic usage","href":"/management-api-reference/collect-information/get-traffic-usage"},{"openapi":"post /kvm/v2/get/cpu_usage","title":"CPU usage","sidebarTitle":"CPU usage","href":"/management-api-reference/collect-information/get-cpu-usage"},{"openapi":"post /kvm/v2/get/details","title":"Basic details","sidebarTitle":"Basic details","href":"/management-api-reference/collect-information/get-basic-details"},{"openapi":"post /kvm/v2/get/mount","title":"Mount details","sidebarTitle":"Mount details","href":"/management-api-reference/collect-information/get-mount-details"}]},{"group":"VNC Management","pages":[{"openapi":"post /kvm/v2/set/vnc/keyboard","title":"Keyboard language","sidebarTitle":"Keyboard language","href":"/management-api-reference/vnc-management/set-vnc-keyboard-language"},{"openapi":"post /kvm/v2/get/vnc/status","title":"VNC status","sidebarTitle":"VNC status","href":"/management-api-reference/vnc-management/get-vnc-status"},{"openapi":"post /kvm/v2/set/vnc/enable","title":"Enable VNC","sidebarTitle":"Enable VNC","href":"/management-api-reference/vnc-management/enable-vnc-access"},{"openapi":"post /kvm/v2/set/vnc/disable","title":"Disable VNC","sidebarTitle":"Disable VNC","href":"/management-api-reference/vnc-management/disable-vnc-access"}]},{"group":"PTR","pages":[{"openapi":"post /get/ptr","title":"Get PTR","sidebarTitle":"Get PTR","href":"/management-api-reference/ptr/get-ptr-records"},{"openapi":"post /del/ptr","title":"Delete PTR","sidebarTitle":"Delete PTR","description":"This endpoint deletes PTR (Reverse DNS) records for specified IP addresses. \nThe `api_host` parameter, obtained from the **\"Create AUTH-session\"** response, \nis dynamically set in the URL. \nProvide the `signature`, `kvm_id`, `valid_until`, and a JSON-encoded list of IP addresses to delete their PTR records.\n","href":"/management-api-reference/ptr/delete-ptr-records"},{"openapi":"post /set/ptr","title":"Set PTR","sidebarTitle":"Set PTR","href":"/management-api-reference/ptr/set-ptr-records"}]},{"group":"Hooks","pages":[{"openapi":"post /kvm/v2/hooks/get","title":"All webhooks","sidebarTitle":"All webhooks","description":"This endpoint retrieves all webhooks configured for the specified KVM VPS. \nThe `api_host` parameter, obtained from the **\"Create AUTH-session\"** response, \nis dynamically set in the URL. \nProvide the `signature`, `kvm_id`, and `valid_until` parameters to fetch the list of webhooks.\n","href":"/management-api-reference/hooks/get-all-webhooks"},{"openapi":"post /kvm/v2/hooks/del","title":"Delete webhook","sidebarTitle":"Delete webhook","href":"/management-api-reference/hooks/delete-a-webhook"},{"openapi":"post /kvm/v2/hooks/set","title":"Traffic monitor webhook","sidebarTitle":"Traffic monitor webhook","href":"/management-api-reference/hooks/set-webhook-for-traffic-monitoring"},{"openapi":"post /example/callback","title":"Callback example","sidebarTitle":"Callback example","href":"/management-api-reference/hooks/example-callback-triggered"}]}]},{"tab":"Looking Glass API","pages":[{"title":"Looking Glass API","href":"/looking-glass-api/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/product"}]}]},"basePath":"","title":"Set PTR - EDIS Global Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}