Removing a Private View From a Resolver

You can remove a nondefault private view from a resolver.

See Private DNS resolvers for more information and a feature overview.

    1. On the Virtual Cloud Networks list page, select the VCN that you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. Select the name of the DNS resolver for the VCN. The Private Resolver Details screen appears.
    3. Select the Associated private views tab.
    4. Select the checkbox next to the private view you want to remove from the resolver. Remove can now be selected. You can select other private views.
    5. Select Remove.
      Note

      You can also remove a private view from the Manage Private Views screen by selecting the red button labeled - and then selecting Save Changes.
  • Use the resolver update command and required parameters to remove a private view from a resolver. In the attached-views parameter, don't include the view OCID  value for the view you want to remove.

    oci dns resolver update --resolver-id resolver_OCID --attached-views '[{"view-id":""}]' ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the UpdateResolver operation to remove a private view from a resolver.