cloudflared
cloudflared copied to clipboard
Allow deletion of DNS routes via cloudflared command line tool💡
Describe the feature you'd like There is already a feature in 32336859f82 to delete CIDR routes but not DNS routes. While the API can be used it would be more convenient to have this in cloudflared.
Describe alternatives you've considered The API should allow this to happen but it'll be easier to do this in the cloudflared cli tool. This issue requested the same but was closed. The comment here misinterpreted the changelog; that changelog entry was not for DNS routes but, rather, network (CIDR netblocks) routes.
Additional context This is useful for automated pipelines creating and deleting tunnels as part of CI/CD in service of developer testing.
I'll let @abelinkinbio track this.
This feature request makes sense. We'll look into it and keep you posted on any progress we make.
Any news on this? This would be great to have, these DNS entries are really cluttering up our dns zone and it's not great to have to add another authentication mechanism and api interaction model into the pipeline just for removing the records.
Any news on this?
I'm looking for this feature too.
Is this hard to implement?
There is an overwrite option available, which could be helpful.
cloudflared tunnel route dns --overwrite-dns <UUID or NAME> <hostname>
for example:
cloudflared tunnel route dns --overwrite-dns 2f089xdf-5x7b-4563-80xf-9b786xec2248 app.example.com
Any updates to this?