Creating an export of your DNS zone
Follow the steps below to create an export of a domain name’s DNS zone.
Creating an export of your DNS zone
- To create an export of your DNS zone, you need an API key. Read here where to retrieve the API key. Write down the API key.
- Go to https://api.hosting.nl/api/documentation and click on Authorize
- Under Value, enter the API key and click Authorize
- Click Retrieve the DNS zone
- Click on Try it out
- Under Domain Name, enter the domain name for which you want an export
- Click on Execute
Retrieve the export using Curl
- To create an export of your DNS zone, you need an API key. Read here where to retrieve the API key. Write down the API key.
- Run the following command. Here, replace janjansen.nl with the domain name for which you want an export and replace ***token*** with your API key
curl -X GET "https://api.hosting.nl/domains/janjansen.nl/dns" -H "accept: */*" -H "API-TOKEN: ***token***" -H "X-CSRF-TOKEN: "