Export_DNS/Cloudflare/README.md

25 lines
688 B
Markdown
Raw Normal View History

2024-06-22 20:58:00 +00:00
# Export_DNS
## Cloudflare
2024-06-22 21:01:59 +00:00
### Config File
2024-06-22 20:58:00 +00:00
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
```
2024-06-22 21:01:59 +00:00
### 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/)