DNS
DNS Information
Return whether domains only resolve locally
This function indicates whether the account's domains resolve exclusively to this server.
get/DNS/ensure_domains_reside_only_locally
Query parameters
domainstring domain required
Example:example1.com
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.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "ensure_domains_reside_only_locally",
"module": "DNS",
"result": {
"data": [
"The domain resolves to Mars. Beep beep beep."
],
"metadata": {
"transformed": 1
},
"status": 1
}
}