25 lines
688 B
Markdown
25 lines
688 B
Markdown
# Export_DNS
|
|
## Cloudflare
|
|
|
|
### Config File
|
|
Add your Cloudflare API key here. The key need to be able to read any DNS zones that you list below
|
|
```
|
|
API_KEY=your_single_api_key
|
|
```
|
|
|
|
Add the Zone ID to the zone_id_value section and set the site_name_value to the name of the domain. This will be the name of the file that is created with the DNS infomation.
|
|
```
|
|
ZONE_ID_1=zone_id_value_1
|
|
SITE_NAME_1=site_name_value_1
|
|
|
|
ZONE_ID_2=zone_id_value_2
|
|
SITE_NAME_2=site_name_value_2
|
|
```
|
|
|
|
### The Script
|
|
Inside the script is the following below (Line 7)
|
|
```
|
|
EXPORT_FOLDER="export"
|
|
```
|
|
Change the value from export, to the location that the script should export the files to (E.g. /folder1/folder2/)
|