I’m adding a new domain and it automatically listed a 900 DNS record probably used by the former owner of the domain. Now I wish to delete them at once but I can’t figure out how to do it.
Hello abayangan
To delete multiple DNS records at once, you’ll need to use the Cloudflare API. This involves writing a script that lists the records, then loops through that list to delete them. You can learn more about this process in these documents:
- List DNS records: Cloudflare API Documentation
- Delete DNS record: Cloudflare API Documentation
Please remember to back up your current DNS records before you proceed with the deletion. This way you can easily restore them if something goes wrong.
Regards,
1 Like
If you aren’t up to writing your own API script, there are some third-party tools developed by a Community MVP that should meet your goal.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.