---
title: "Reset DNS records"
method: POST
path: "/api/dns/v1/zones/{domain}/reset"
tags: ["DNS: Zone"]
---

# Reset DNS records

`POST /api/dns/v1/zones/{domain}/reset`

Reset DNS zone to the default records.

Use this endpoint to restore domain DNS to original configuration.

## Path parameters

- `domain` string, required

## Request body

- DNSV1ZoneResetRequest
  - `sync` boolean — Determines if operation should be run synchronously
  - `reset_email_records` boolean — Determines if email records should be reset
  - `whitelisted_record_types` string[] — Specifies which record types to not reset

## Response `200`

Success response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/versions/796bd5194565/schema)
