Cloudflare Tunnel Route DNS Pulls Different Zone

Hi Cloudflare Zero Trust,

First off. Thanks for creating cloudflared!

I enjoy relying on them for my websites and services, they are awesome!

Recently I tried setting up a new Cloudflare tunnel and tried using the DNS record via the CLI with the following command.

sudo cloudflared tunnel route dns tunnel_name domainname.com

The tunnel already existed before, I was expecting the CNAME to get populated with the command.

However, a different zone for the CNAME was created after running the command.

See below.

domainname.com.seconddomainname.com

I haven’t tried creating a new tunnel and then using the route dns command again to see if this would fix the issue… but why did the zones get mixed up with an existing tunnel name?

Any help would be great!