Export DNS zones in CSV format

With this script you can export a full list of your DNS zones with their name and type in CSV format. You can download it from here.

Configuration

AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user.

// Auth ID and Password
define("AUTH_ID", 0);
define("AUTH_PASS", "xxx");

Usage

When you are ready with your configuration, you can run the script with the following command:

php export-dns-zones-csv.php

Output

The script will output a CSV formatted table with your DNS zones.

Possible problems

If your API user ID or Password are incorrect, you will get an error message. If the directory does not exist, you will get an error message.


Last modified: 2019-02-21
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more