managing DNS by CLI? create subdomain with IP via CLI?
hi dear Cloudflare Team,
i got a question, do you guys now how to setup DNS in CLI, without to visiting the Homepage? just like
gh repo create
in github
chatgpt shows me this command, but i couldn't found any documentation
4 Replies
The most supported CLI would probably be Terraform: https://developers.cloudflare.com/terraform
Cloudflare Docs
Cloudflare Terraform · Cloudflare Terraform docs
Configure Cloudflare using HashiCorp’s “Infrastructure as Code” tool, Terraform. With Cloudflare’s Terraform provider , you can manage the Cloudflare …
There might be third-party tools/tools you can build yourself, but this is the only one that I know of that is official
ahh ok thanks, i need to learn terraform to use this option... sounds difficult... but i really hope there is any reliable and smart third party option,
There is also flarectl though I'm uncertain how officially its supported https://github.com/cloudflare/cloudflare-go/tree/master/cmd/flarectl
chatgpt shows me this command, but i couldn't found any documentationChatGPT is clearly hallicunating there, it doesn't know about a Cloudflare CLI so it made one up and was confidently wrong