Attaching a Domain to a Policy
Create a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain.
Use the steering-policy-attachment create command and required parameters to create a steering policy domain attachment:
oci dns steering-policy-attachment create --domain-name domain_name --steering-policy-id steering_policy_OCID --zone_id zone_OCID ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateSteeringPolicyAttachment operation to create a steering policy domain attachment.
See Traffic Management Steering Policies API Guide for more information on using the API to create steering policies.