Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# This POC uses the API's "registrar" endpoint to change NS delegation of a Cloudflare registrar domain to NS outside of Cloudflare
# export account e-mail address and Global API key.
# Untested: New style APO token with appropriate perms may also work.
export CF_API_EMAIL=user@server.com
export CF_API_KEY=changeme
# replace "changeme" below with your actual account ID and "domain.com" with the domain to be changed

Keybase proof

I hereby claim:

  • I am mfld-pub on github.
  • I am mfelden (https://keybase.io/mfelden) on keybase.
  • I have a public key ASCXFF9PW4URWz8MHSb65nYg6vL8BW93_UjxQheYrgh6Igo

To claim this, I am signing this object: