cloudflare / cloudflare/cloudflared
🐛 "cloudflared tunnel route dns" uses incorrect domain name
Open
Priority: Normal
Type: Bug
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
I have two domains, one is `a.com` another is `b.com`.
I want to create a dns route for `test.a.com`, but it it will instead create a route for `test.a.com.b.com`.
Here's the command to reproduce it:
```bash
$ cloudflared tunnel route dns ys-pc test.a.com
2022-10-31T05:56:58Z INF Added CNAME test.a.com.b.com which will route to this tunnel tunnelID=xxxxxxxx
```
Contributor guide
Assessment
This issue has not been assessed yet.