Skip to main content

fallback_domains

Creates, updates, deletes, gets or lists a fallback_domains resource.

Overview

Namefallback_domains
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
devices_set_local_domain_fallback_list_for_a_device_settings_policyreplacepolicy_id, account_idSets 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_listreplaceaccount_idSets 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
policy_idstringThe Access policy ID.

REPLACE examples

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;