# Delete Secondary Zones

When a secondary zone is deleted, the local DNS server ceases to store or serve authoritative DNS data for that zone. It:

1\. **Deletes the zone data:** It deletes all records that were previously replicated from the primary zone. These records are no longer stored locally. Example: A, MX, NS, etc.

2\. **Stops serving authoritative responses:** It does not respond to DNS queries for the respective secondary zone as an authoritative source. For example, if a client queries the DNS server for a deleted secondary zone, example.com, the server will not return an authoritative answer.

3\. **Discontinues zone transfers for the secondary zone:** It halts all future zone transfer attempts from the primary server and eliminates the zone's records from the secondary server's database. Consequently, the DNS server will no longer respond authoritatively to queries related to the deleted zone, potentially impacting name resolution if no other secondary or caching servers are available.

To delete a secondary zone, follow these steps:

1\. In the **DCD**, go to **Menu** > **Network Services** > **Cloud DNS** > **Public zones** tab.

2\. Select **Secondary Zones** from the drop-down list to view them.

![Select secondary zones](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-a6f5bed26c91646a13e365704c94227106c06849%2Fselect-secondary-zone.png?alt=media)

{% hint style="info" %}
**Info:** The **Public zones** section displays the zones if you have already created them. Select **Show secondary zones** to view secondary zones. This option only appears if you have created secondary zones but have not configured primary zones.
{% endhint %}

![Show secondary zones](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-25843a899cf055d1f3c7cdf74ae555eb3f11e29b%2Fshow-secondary-zone.png?alt=media)

3\. Delete a secondary zone using the following options:

* Delete secondary zones either in bulk or individually by selecting respective checkboxes and clicking **Delete**.
* Select **Delete Secondary Zone** from the **ACTIONS** column to delete the respective secondary zone.

![Delete secondary zones](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-c62830890d9ebf66b20849a7fbf38deee906bc84%2Fdelete-secondary-zone.png?alt=media)

* Click on the specific secondary zone and in the **Details & Records** window, click **Edit zone**. Click **Delete Zone** in the **Edit Secondary Zone** window. For more information, see [<mark style="color:blue;">Update Secondary Zones</mark>](https://docs.ionos.com/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/secondary-zone/update-secondary-zone).

4\. Select **Delete** to confirm.

![Confirm deletion](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-7c5f904fccf65c787c5f5e9b6155c09c0f9006c8%2Fconfirm-delete-secondary-zone.png?alt=media)

{% hint style="success" %}
**Result:** The selected secondary zone is deleted.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/secondary-zone/delete-secondary-zone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
