v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
DNS
DNS Information

Return domain's DNS information

This function returns DNS zone information about a domain.

get/DNS/lookup

Query parameters

domainstring required
Example:example.com

A fully qualified domain name.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "lookup",
  "module": "DNS",
  "result": {
    "data": [
      "example.com has address 93.184.216.34",
      "example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946",
      "example.com mail is handled by 0 ."
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}