Return whether domains only resolve locally

This function indicates whether the account's domains resolve exclusively to this server.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

The domain to check.

Note:

To check multiple domains, duplicate or increment the parameter name. For example, to exclude three domains, you could:

  • Use the domain parameter multiple times.
  • Use the domain, domain-1, and domain-2 parameters.
Examples:
domain=domain=example.com&domain-1=example1.com&domain-2=example2.com
domain=domain=example.com&domain=example1.com&domain=example2.com
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/ensure_domains_reside_only_locally
Request samples
uapi --output=jsonpretty \
  --user=username \
  DNS \
  ensure_domains_reside_only_locally \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "ensure_domains_reside_only_locally",
  • "module": "DNS",
  • "result": {
    • "data": [
      • "The domain resolves to Mars. Beep beep beep."
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}