Listing DNS Zones

View a list of zones in a compartment.

For more information, see the DNS service overview.
    1. Open the navigation menu and click Networking. Under DNS management, click Zones.
    2. Under List scope, select a compartment.
  • Use the zone list command and required parameters to view a list of zones in a compartment.

    oci dns zone 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 ListZones operation to view all zones in a compartment.