Skip to content

Instantly share code, notes, and snippets.

View duongthanhthai's full-sized avatar
💭
Freelancer Full time

Dương Thành Thái duongthanhthai

💭
Freelancer Full time
View GitHub Profile
@duongthanhthai
duongthanhthai / cloudflare-delete-all-records.sh
Created August 12, 2024 07:46 — forked from slayer/cloudflare-delete-all-records.sh
Delete all DNS records for specified zone
#!/bin/bash
TOKEN="xxxxxxxxxxxxxxxxxxx"
ZONE_ID=2222222222222222222222222
# [email protected]
# KEY=11111111111111111111111111
# Replace with
# -H "X-Auth-Email: ${EMAIL}" \
# -H "X-Auth-Key: ${KEY}" \
@duongthanhthai
duongthanhthai / HowToDeleteAllCloudflareRecors.md
Created August 12, 2024 07:46 — forked from AidasK/HowToDeleteAllCloudflareRecors.md
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

Real developers are not used to clicking, it's allways easier to write a script to do it for you.