GET - GET a specific AAAA Record by ID

Purpose

This API retrieves a specific AAAA (IPv6 Address) record under a DNS zone. AAAA records map a domain name to an IPv6 address, enabling support for IPv6-based networking. This API enables administrators to retrieve and manage IPv6 address mappings, ensuring better scalability and future-proof networking.

Request URL

Method: GET

https://{appconsole_IP}:{9443}/api/dhcp/zone/{zone_pk}/AAAA/{pk}/

Request Headers

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" }

Path Parameters

  • zone_pk* long
    • The unique identifier of the DNS zone where the AAAA record exists.
    • Example: 5867.
  • pk* long
    • The unique identifier of the specific AAAA record to retrieve.
    • Example: 10805.

 

- Mandatory parameter.

 

Sample Response

Copied
{
   "zone_id":5867,
   "domain_name":"aaaa26.hellotest109.com.",
   "domain_ttl":8640,
   "aaaa_domain_id":10855,
   "records":[
      "95c3:9a88:0933:b20d:9a62:2e42:3965:0f7e",
      "b5c3:9a88:0933:b20d:9a62:2e42:3965:0f7e"
   ]
}