Return domain's DNS information

This function returns DNS zone information about a domain.

SecurityBasicAuth
Request
query Parameters
domain
required
string

A fully qualified domain name.

Example: domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/DNS/lookup
Request samples
uapi --output=jsonpretty \
  --user=username \
  DNS \
  lookup \
  domain='example.com'
Response samples
application/json
{
  • "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 ."
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}