Do i need a DNS record for the exact cloudflare worker route? For example I've already got `b.a.com

Do i need a DNS record for the exact cloudflare worker route? For example I've already got b.a.com with an A record, does c.b.a.com also need a DNS record to allow cloudflare workers to intercept the request? my route is being ignored by cloudflare workers
10 Replies
Erisa
Erisaβ€’4y ago
the route does need a DNS record (since that will be the "fallback" origin if the worker doesnt respond anything or falls to origin) if the only thing running on the domain is a worker then just set it to anything, iirc there was some ip you can use that doesnt route anywhere but i cant remember the ip
Ben-xD
Ben-xDOPβ€’4y ago
Thanks! that makes sense, i will try set it to a "black hole" ip, a term i just learnt πŸ˜„ https://superuser.com/questions/698244/ip-address-that-is-the-equivalent-of-dev-null
Super User
IP address that is the equivalent of /dev/null
Is there an IP address that would result in any packet sent to be ignored (blackholed)? I know I can always set up a router with an IP address and then just have it ignore all packets sent to it, ...
Erisa
Erisaβ€’4y ago
ah yeah it was 100:: that the docs recommended with an AAAA record
Unknown User
Unknown Userβ€’4y ago
Message Not Public
Sign In & Join Server To View
Revolving DCON
Revolving DCONβ€’4y ago
Welcome to writing code :p
Unknown User
Unknown Userβ€’4y ago
Message Not Public
Sign In & Join Server To View
Ben-xD
Ben-xDOPβ€’4y ago
For some reason I decided to delete the worker and recreate it with the same name. But now I get This site can’t provide a secure connection, ERR_SSL_VERSION_OR_CIPHER_MISMATCH, I've tried recreating it again, but i couldn't fix it. Does anyone know how? The worker is here https://api.club2d.orth.uk/ I've switched to just using the workers.dev domain, since its just an API url.
Unknown User
Unknown Userβ€’4y ago
Message Not Public
Sign In & Join Server To View
Ben-xD
Ben-xDOPβ€’4y ago
Oh great! thanks πŸ™‚
Unknown User
Unknown Userβ€’4y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?