DNS
DNS Information

Return domain's DNS information

This function returns DNS zone information about a domain.

get/DNS/lookup

Request

  • Base URL
    https://cpanel-server.tld:2083/execute
  • Auth
    HTTP basic

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

Changes

No recorded changes to this operation across all 5 revisions of this API.