Worker routes not showing on DNS records - CF Bug?

I have a worker with routes configured via wrangler.jsonc but I am not seeing any DNS records to domain. I have other workers that show, but this one doesn't. Even if I remove route in CF GUI and readd I am still not seeing any DNS records add.
"routes": [
{
"pattern": "pricefox.uk",
"zone_id": "{{ZONE_ID}}"
}
],
"routes": [
{
"pattern": "pricefox.uk",
"zone_id": "{{ZONE_ID}}"
}
],
I did originally have a pages worker pointing to root of domain but I have deleted that as part of migrating to workers.
No description
No description
No description
2 Replies
Walshy
Walshy•5mo ago
Workers routes does not automatically add DNS records, that is for custom domains. If you add a "custom_domain": true to your route, it will add that https://developers.cloudflare.com/workers/configuration/routing/custom-domains/
MrBithles
MrBithlesOP•5mo ago
Great that was it - thansk for quick response 🙂

Did you find this page helpful?