---
title: "Delete DNS zone"
sidebar_label: "Delete DNS zone"
sidebar_position: 3
description: "How to delete a DNS zone"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import EditIcon from '@selectel/docux/icons/edit'
import TrashIcon from '@selectel/docux/icons/trash'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Delete DNS zone

The zone will be deleted along with all DNS records within it.

The zone cannot be deleted if at least one private network is added to it.

1. In the [control panel](https://my.selectel.ru/vpc/default/private-dns/), on the top menu, click **Products** and select **Cloud Servers**.

2. Go to the **Private DNS**.

3. Open the DNS zone page.

4. If private networks are specified in the **Networks** block, remove them from the zone:

   4.1. To the right of the network name, click <EditIcon />.

   4.2. Under the **DNS Zone** field, check the **Delete from zone** checkbox....

   4.3. Enter the network name to confirm the deletion.

   4.4. Click **Save**.

   4.5. If there are still networks in the zone, repeat steps 4.1—4.4 for each of them.

5. In the top right corner, click <TrashIcon />.

6. Click **Delete**.

<Formbricks />
