cloudflared tunnel not creating DNS records

I'm starting it locally on my mac with cloudflared tunnel --hostname mbp.danthegoodman.com --url localhost:8080 --name mbp-dan and when I try to navigate to that I'm getting DNS resolution errors (nothing there). Is there something I need to enable on the domain in the cloudflare dashboard? I'm logged in properly.
1 Reply
DanTheGoodman
DanTheGoodman5mo ago
2024-01-07T17:59:21Z ERR failed to provision routing, please create it manually via Cloudflare dashboard or UI; most likely you already have a conflicting record there. You can also rerun this command with ----overwrite-dns, -f Overwrites existing DNS records with this hostname (default: false) [$TUNNEL_FORCE_PROVISIONING_DNS] to overwrite any existing DNS records for this hostname. error="Failed to add route: code: 1003, reason: Failed to create record mbp.danthegoodman.com.dgood.io with err An A, AAAA, or CNAME record with that host already exists. For more details, refer to <https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/>." route="dns mbp.danthegoodman.com"
2024-01-07T17:59:21Z ERR failed to provision routing, please create it manually via Cloudflare dashboard or UI; most likely you already have a conflicting record there. You can also rerun this command with ----overwrite-dns, -f Overwrites existing DNS records with this hostname (default: false) [$TUNNEL_FORCE_PROVISIONING_DNS] to overwrite any existing DNS records for this hostname. error="Failed to add route: code: 1003, reason: Failed to create record mbp.danthegoodman.com.dgood.io with err An A, AAAA, or CNAME record with that host already exists. For more details, refer to <https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/>." route="dns mbp.danthegoodman.com"
I see this log, but it's not there in the dash oh wait that dns is very wrong seems I had old config, fixed