Set the Local Domain Fallback list for a device settings profile
PUT
/accounts/{account_id}/devices/policy/{policy_id}/fallback_domains https://api.cloudflare.com/client/v4
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.
Parameters
path Path Parameters
| Name | Type |
|---|---|
policy_id
required
| type TeamsDevicesSchemasUuid = string |
account_id
required
| type TeamsDevicesIdentifier = unknown |
Request Body
application/json
required
interface TeamsDevicesFallbackDomain {
description?: string;
dns_server?:TeamsDevicesIp [];
suffix: string;
}[]
description?: string;
dns_server?:
suffix: string;
}[]
Responses
200 application/json
Set the Local Domain Fallback list for a device settings profile response.
type TeamsDevicesFallbackDomainResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesFallbackDomain []; }
Client Errors
4XX application/json
Set the Local Domain Fallback list for a device settings profile response failure.
type TeamsDevicesFallbackDomainResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesFallbackDomain []; } & interface TeamsDevicesApiResponseCommonFailure {
errors:TeamsDevicesMessages ;
messages:TeamsDevicesMessages ;
result: null;
success: false;
}
errors:
messages:
result: null;
success: false;
}