Skip to content

Instantly share code, notes, and snippets.

View novastream's full-sized avatar

Jonathan Lindgren novastream

View GitHub Profile
@azliabdullah
azliabdullah / auto-delete-cf-dns.js
Created March 11, 2022 07:12
bulk delete all DNS records in cloudflare
/**
* 1. open cloudflare dashboard, choose domain, go to DNS section
* 2. open browser's dev tool (via F12 or inspect or however)
* 3. in devtool, go to console tab
* 4. clear all existing messages
* 5. paste all script below
* 6. hit enter and watch
* 7. script only delete records displayed in the screen
* 8. if want to delete more, refresh browser and run script again
*