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
?
Solution:Jump to 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.5 Replies
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.Okay, I tried adding the DNS record, it's still not working. I'm guessing I need to wait a little for it? If it doesn't work, I'll use the custom domains in that case
dns propogation is slow, dns is heavily cached
espec since you tried to visit it
it half works for me

Oh yeah, seems like something happened. First time using OpenAPI for workers so I wouldn't be shocked
Anyway, thank you a ton for the help, I'd never figure that out with the DNS records