> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/domains-and-dns/how-tos/export-data-from-glesys-dns.md).

# Export data from Glesys DNS

You can always export your DNS data from Glesys, so you don't have to worry about vendor lock-in.

***

## Export data from Glesys DNS using the control panel

It is possible to export all your DNS data from Glesys DNS. This ensures you don’t have to worry about being locked into Glesys. You can export the data as a zone file at any time. This file can then be used with the *BIND* DNS server.

To export your DNS data, click **Actions** and then **Export** in the domain's overview in the DNS service.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FYryY8rnbeYG5Ok9wgclY%2Fdns-export.png?alt=media&amp;token=1a1351ea-6583-4094-a3f7-cb92b5c34a42" alt=""><figcaption></figcaption></figure>

In the next dialog box, the entire zone file is displayed. At the bottom, click **Download as file** to download the entire file as a text file.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FYJhtyu4rCgqfRqvpRQp1%2Fdns-download-zonefile.png?alt=media&amp;token=c68fe4bb-c280-4164-8a20-20787b46fe2d" alt=""><figcaption></figcaption></figure>

## Export data from Glesys DNS using the API

Use the [domain/export](https://github.com/GleSYS/API-docs/wiki/API-Documentation#domainexport) endpoint to export DNS data as a zone.
