Listing Resolvers

View a list of resolvers in a compartment.

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

    1. Open the navigation menu  and select Networking. Under DNS management, select Private resolvers.
    2. To view the policies in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

  • Use the resolver list command and required parameters to see all resolvers in a compartment:

    oci dns resolver list --compartment-id compartment_OCID ... [OPTIONS]

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

  • Run the ListResolvers operation to view all resolvers in a compartment.