Skip to content

DNS Purge

The purpose of DNS purge is to offer a quick way to bulk remove all DNS records.


Once you have it downloaded run cloudflare-utils --api-token <API Token with DNS:Edit> --zone-name <your.domain> dns-purge. It will prompt you to confirm deleting records.

Optional flags:

  • --confirm: Skip the confirmation prompt.

Required API Permissions

  • Zone:DNS:Edit

Token Quick Link