---
title: "Export BIND zone file"
method: GET
path: "/v1/domains/{domain}/zone-file"
tags: ["Domains"]
---

# Export BIND zone file

`GET /v1/domains/{domain}/zone-file`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/v1/domains/{domain}/zone-file`
- Auth: API key in header `X-API-Key`

Returns the current DNS records as a BIND-format zone file fragment. Convenient for pasting into a DNS editor that accepts zone-file imports.

## Response `200`

Zone file text

---

[API](https://skmtc.dev/anjal/apis/anjal-api.md) · [All operations](https://skmtc.dev/anjal/apis/anjal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anjal/apis/anjal-api/revisions/a4044778e294?raw)
