cPanel UAPI / DNS

cPanel UAPI ensure_domains_reside_only_locally

Find the endpoint, CLI syntax and practical purpose of this cPanel command, with a direct link to the official documentation.

What this command does

The cPanel documentation summary for this operation is: Return whether domains only resolve locally.

In Hostilla.pl this page helps identify the exact API operation before using automation, reseller integrations or a support request.

Command details

API
cPanel UAPI 11.136.0.25
Category
DNS
Method and path
GET /DNS/ensure_domains_reside_only_locally
Operation ID
ensure_domains_reside_only_locally
CLI example
uapi --user=USER DNS ensure_domains_reside_only_locally

Open official cPanel documentation

Practical request workflow

cPanel UAPI ensure_domains_reside_only_locally should be run only after the target account and expected result are known. Start with a read-only lookup when one is available, then make the smallest required change and verify the resource again.

  1. Confirm ownership of the domain and identify the authoritative DNS zone or redirect source.
  2. Read the current record or redirect set before making a change.
  3. Validate names, record types, targets and TTL values supplied to ensure_domains_reside_only_locally.
  4. Query the authoritative service again and test from a caching resolver or browser.

CLI request example

uapi --user=USER DNS ensure_domains_reside_only_locally

How to read the response

For DNS and redirect operations, compare the returned record identifiers and values with an authoritative lookup. Propagation or browser cache can delay what users see even after the API accepted the change.

Record the request time, account and domain together with the returned status. A successful transport response does not by itself prove that the requested resource was created, changed or deleted exactly as intended.

Questions before automation

What permission does cPanel UAPI ensure_domains_reside_only_locally require?

Use the target cPanel account context or a least-privilege token allowed to perform this function.

What should I check before running ensure_domains_reside_only_locally?

Confirm ownership of the domain and identify the authoritative DNS zone or redirect source. Read the current record or redirect set before making a change.

How do I confirm that ensure_domains_reside_only_locally worked?

For DNS and redirect operations, compare the returned record identifiers and values with an authoritative lookup. Propagation or browser cache can delay what users see even after the API accepted the change.

Hostilla.pl usage notes

UAPI commands normally act inside a single cPanel account. Use the least-privilege token or the account context required for the task.

Need this operation for your hosting account? Contact Hostilla.pl support with the account name, domain and expected result. We will help select a safe API path.

Related practical guides

Related API navigation