Creating an IP Prefix Steering Policy
Create an IP prefix traffic management policy that steers DNS traffic based on the IP prefix of the originating query.
Use the steering-policy create command and required parameters to create an IP Prefix steering policy:
oci dns steering-policy create --compartment-id compartment_id --display-name policy_name --template ROUTE_BY_IP ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateSteeringPolicy operation to create an IP Prefix steering policy. Specify the
TemplateType
parameter asROUTE_BY_IP
.See Traffic Management Steering Policies API Guide for more information on using the API to create steering policies.