This API is used to create a new HTTPS DNS record within a specific DNS zone in DDI Central. HTTPS records (defined in RFC 9460) are an advanced DNS type that allows domains to advertise secure service endpoints with metadata such as ALPN (Application-Layer Protocol Negotiation) support, priorities, and target names — improving performance and security for modern web clients.
Method: POST
https://{appconsole_IP}:{9443}/api/dns/zone/{zone_pk}/HTTPS/
The following headers must be included in the API request for successful authentication and data submission:
Authorization: DDI Central's OAuth implementation uses the Bearer authentication scheme. Hence, while making API calls, access_token obtained via the OAuth 2.0 Client Credentials Grant must be included in the Authorization header of API requests. This token verifies the client’s identity and ensures appropriate permissions for accessing resources.
The Authorization Header follows the format below:
headers = { "Authorization": "Bearer {bearer_tk}" }
Content-Type: Required in the header to indicate the media type of the resource being sent. It helps the server at the receiving end understand how to process the transmitted request body.
The Content-Type Header follows the format below:
headers ={ "Content-Type": "application/json" }
12145."https63.green.com.") being created under the DNS zone.5000"green.com"."chennai2"), used to scope the operation within DDI Central's multi-cluster infrastructure.
* - Mandatory parameter.
Copied
{
"domain_name": "https56.green.com.",
"domain_ttl": 5000,
"zone_name": "green.com.",
"cluster_name": "chennai2",
"records": [
{
"priority": 4,
"targetname": "target112.com",
"parameters": "alpn=\"h2,h3\""
},
{
"priority": 6,
"targetname": "target222.com",
"parameters": "alpn=\"h2,h3\""
}
]
}
Copied
{
"https_domain_id": 20,
"zone_id": 12145,
"domain_name": "https63.green.com.",
"domain_ttl": 5000,
"zone_name": "green.com.",
"cluster_name": "chennai2",
"records": [
{
"priority": 2,
"targetname": "target51.com.",
"parameters": "alpn=\"h2,h3,h4\""
},
{
"priority": 3,
"targetname": "target52.com.",
"parameters": "alpn=\"h2,h3,h5\""
}
]
}