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.

See Traffic Management for a feature overview and more information about traffic management steering policies and domain attachments.
    1. Open the navigation menu and click Networking. Under DNS management, click Traffic management steering policies.
    2. Click the name of the policy you want to create the domain attachment for.
      Tip

      You can use search for a policy by name in the Search field. You can also use the Time Created sort filter to sort the policies chronologically in ascending or descending order.
    3. Under Resources, click Attached domains.
    4. Click Add Attached Domain(s)
    5. In the Add Attached Domain(s) panel, enter the domain and then select a compartment and zone.
    6. Click Add.
    7. Click View changes to review the attached domain information, and then click Publish.
    8. Click Publish changes.
  • 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.