You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw "Send a note if you succeeded with a different provider and I will list it here." on the Readme file and thought I'd chime in with how I was able to get the CloudFlare API to work.
Obtain your CloudFlare Token
Log into your CloudFlare account.
Click your avatar in the top right corner.
Click My Profile in the drop-down menu.
Click API Tokens in the left nav.
Click the Create Token button.
Navigate down to Create Custom Token and click the Get Started button.
Give your API token a descriptive name (it doesn't matter and you can change it later).
Under Permissions, set it to Zone - DNS - Edit
Under Zone Resources, set it to Include - Specific Zone - [the domain you want to use]
Configure TTL to your liking--can leave blank to make it indefinite.
Note the Token string. Guard it like a password.
Obtain your CloudFlare Account ID
Exit My Profile and navigate to the domain you want to use.
Note your Account ID in the right nav.
Edit your /mnt/data/ubios-cert/ubios-cert.env file
Duplicate this line (line 19 as of 2021-12-18) DNS_API_PROVIDER="dns_kas"
Comment out the original with an octothorp: # DNS_API_PROVIDER="dns_kas"
Replace kas with cf in the uncommented duplicate: DNS_API_PROVIDER="dns_cf"
Duplicate this line (line 33 as of 2021-12-18) DNS_API_ENV="-e KAS_Login=w0xxxxx -e KAS_Authdata=abcd...efgh -e KAS_Authtype=sha1"
Comment out the original with an octothorp
Populate the uncommented duplicate with your information: DNS_API_ENV="-e CF_Token=TokenBlahBlah -e CF_Account_ID=AccountIDBlahBlah”
Save and run (you might need to de-install and de-register and re-install for it to take effect--I've had some trial and error with this process)
I hope this helps!
The text was updated successfully, but these errors were encountered:
tackynugget
changed the title
Using CloudFlare DNS API
SUCCESS: Using CloudFlare DNS API
Dec 19, 2021
I saw "Send a note if you succeeded with a different provider and I will list it here." on the Readme file and thought I'd chime in with how I was able to get the CloudFlare API to work.
Obtain your CloudFlare Token
Obtain your CloudFlare Account ID
Edit your
/mnt/data/ubios-cert/ubios-cert.env
fileDNS_API_PROVIDER="dns_kas"
# DNS_API_PROVIDER="dns_kas"
kas
withcf
in the uncommented duplicate:DNS_API_PROVIDER="dns_cf"
DNS_API_ENV="-e KAS_Login=w0xxxxx -e KAS_Authdata=abcd...efgh -e KAS_Authtype=sha1"
DNS_API_ENV="-e CF_Token=TokenBlahBlah -e CF_Account_ID=AccountIDBlahBlah”
I hope this helps!
The text was updated successfully, but these errors were encountered: