---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones"
tags: ["PrivateZones"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones`

Lists the Private DNS zones in all resource groups in a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `$top` integer
- `api-version` string, required

## Response `200`

Success.

- PrivateZoneListResult — The response to a Private DNS zone list operation.
  - `value` PrivateZone[] — Information about the Private DNS zones.
    - `id` string — Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    - `name` string — The name of the resource
    - `type` string — The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
  - `nextLink` string — The continuation token for the next page of results.

## Other responses

- `default` — Default response. It will be deserialized as per the Error definition.

---

[API](https://skmtc.net/azure/apis/privatednsmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/privatednsmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/privatednsmanagementclient/versions/28daf4548ac3/schema)
