This is a CLI program that let you set CNAME to use Cloudflare using the partner program.
Both Python2.x and Python3.x is supported. No extra library is needed.
To use Chinese menu, set environment variable
LANG to use UTF-8 (for example, zh_CN.UTF-8).
- Apply for partner program at https://www.cloudflare.com/partners/.
- Clone this repository or download script.
- Enter your
host_key. You can get it here.
- Enter the account you use to manage domains (your personal account, not partner login account). User key is stored in
- Follow the instructions on screen.
- Value of
resolve_tohas to be DNS record (for example: google.com) instead of IP address.