Skip to content

Python script uses the CloudFlare API to export all DNS records for all zones.

License

Notifications You must be signed in to change notification settings

ob1lan/CloudFlareDNSDumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFlareDNSDump

Pylint CodeQL Bandit License: MIT

Purpose

This Python script uses the CloudFlare API to first get all DNS zones IDs, and then export all DNS records for all zones.

Usage

Simply clone this repo, install Pandas, add your API Authorization Bearer into the headers.txt file and then execute the script.

git clone https://github.com/ob1lan/CloudFlareDNSDump.git
pip install pandas
python cloudflare_dns_dumper.py

This will get through all the DNS zones you have access to, and then exports all (sub)domains into those files:

  • results.json
  • results.csv

To Do

  • Error handling and logging

About

Python script uses the CloudFlare API to export all DNS records for all zones.

Resources

License

Stars

Watchers

Forks

Languages