Worker routing issue

Hi I'm having an issue with adding a worker route to my worker. I add the route ai.filyys.dev/*, I added this code into my wrangler config, yet when I try to go to ai.filyys.dev I get a DNS_PROBE_FINISHED_NXDOMAIN?
"routes": [
    {
      "pattern": "ai.filyys.dev/*",
      "zone_id": "****",
    },
  ],
Solution
Routes don't add dns records. You could switch to Custom Domains which do add dns records https://developers.cloudflare.com/workers/configuration/routing/custom-domains/#set-up-a-custom-domain-in-your-wrangler-configuration-file, or add AAAA ai.filyys.dev 100:: Proxied as a record. 100:: is IPv6 Discard, the idea being it'll match your route or go nowhere.
Was this page helpful?