Return domain's DNS information

This function returns DNS zone information about a domain.

Authorizations:
query Parameters
domain
required
string

A fully qualified domain name.

Example: domain=example.com

Responses

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

Request samples

uapi --user=username DNS lookup domain='example.com'

Response samples

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