DNS Cleaner is a tool that downloads DNS records to a YAML file then will you will edit and your records
Basic Steps:
- Download your DNS records
./cloudflare-utils dns-cleaner
- There will be a file called
dns-records.yml
- For any record you do not want to keep change
keep: true
to false - Rerun
./cloudflare-utils dns-cleaner
and all records not marked to keep will be removed. This tool does not recreate records if they are missing