fallback_domains
Creates, updates, deletes, gets or lists a fallback_domains resource.
Overview
| Name | fallback_domains |
| Type | Resource |
| Id | cloudflare.zero_trust.fallback_domains |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
devices_set_local_domain_fallback_list_for_a_device_settings_policy | replace | policy_id, account_id | Sets the list of domains to bypass Gateway DNS resolution. These domains will use the specified local DNS resolver instead. This will only apply to the specified device settings profile. | |
devices_set_local_domain_fallback_list | replace | account_id | Sets the list of domains to bypass Gateway DNS resolution. These domains will use the specified local DNS resolver instead. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
policy_id | string | The Access policy ID. |
REPLACE examples
- devices_set_local_domain_fallback_list_for_a_device_settings_policy
- devices_set_local_domain_fallback_list
Sets the list of domains to bypass Gateway DNS resolution. These domains will use the specified local DNS resolver instead. This will only apply to the specified device settings profile.
REPLACE cloudflare.zero_trust.fallback_domains
SET
-- No updatable properties
WHERE
policy_id = '{{ policy_id }}' --required
AND account_id = '{{ account_id }}' --required
RETURNING
errors,
messages,
result,
result_info,
success;
Sets the list of domains to bypass Gateway DNS resolution. These domains will use the specified local DNS resolver instead.
REPLACE cloudflare.zero_trust.fallback_domains
SET
-- No updatable properties
WHERE
account_id = '{{ account_id }}' --required
RETURNING
errors,
messages,
result,
result_info,
success;