---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability"
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability`

Checks whether a domain name in the cloudapp.azure.com zone is available for use.

## Path parameters

- `location` string, required

## Query parameters

- `domainNameLabel` string, required

## Parameters

- `./network.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `./network.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Request successful. Returns whether the DNS name is available.

- DnsNameAvailabilityResult — Response for the CheckDnsNameAvailability API service call.
  - `available` boolean — Domain availability (True/False).

---

[API](https://skmtc.dev/azure/apis/networkmanagementclient-9.md) · [All operations](https://skmtc.dev/azure/apis/networkmanagementclient-9/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/networkmanagementclient-9/revisions/0dc315f921cb/schema)
