Creating a Geolocation Steering Policy
Create a geolocation traffic management policy that distributes DNS traffic to different endpoints based on the location of the end user
Use the steering-policy create command and required parameters to create a geolocation steering policy:
oci dns steering-policy create --compartment-id compartment_id --display-name policy_name --template ROUTE_BY_GEO ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateSteeringPolicy operation to create a geolocation steering policy. Specify the
TemplateType
parameter asROUTE_BY_GEO
.See Traffic Management Steering Policies API Guide for more information on using the API to create steering policies.