Removing a Private View From a Resolver

You can remove a non-default private view from a resolver.

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

    1. From the Virtual Cloud Network Details screen for your VCN, look in the VCN Information tab and click the name of the DNS resolver for the VCN. The Private Resolver Details screen appears.
    2. From the Private Resolver Details screen, select the checkbox next to the private view you want to remove from the resolver. Remove turns red, and can now be clicked. You can select other private views if necessary.
    3. Click Remove.

      You can also remove a private view from the Manage Private Views screen by clicking the red button labeled - and then clicking Save Changes.
  • Use the resolver update command and required parameters to remove a private view from a resolver. In the attached-views parameter, do not 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.