> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/secondary-zone/delete-secondary-zone.md).

# 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](/files/66uDf1rFz52DYviTMl1D)

{% 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](/files/q1JMYKrtc4mRbtPrfFZg)

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](/files/7qAuDBfIIcEftNdPXxp3)

* 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>](/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/secondary-zone/update-secondary-zone.md).

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

![Confirm deletion](/files/R3LyKKQqW03E8SaTIYmn)

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
