Giter VIP home page Giter VIP logo

Comments (9)

gardner avatar gardner commented on June 2, 2024 1

Documenting requirements of the platform seems like a reasonable request. Please consider re-opening this and adding information to the README.md about what records are required to be in place before using wrangler publish. Thanks

from cloudflare-docs-engine.

ispivey avatar ispivey commented on June 2, 2024 1

Yes, absolutely, this is what the issue was about. I'll PR a small tweak, now that I'm thinking about it: we should recommend an AAAA record to 100::, which is the reserved IPv6 discard prefix, which ensures requests to "origin" will be immediately discarded/timed out.

from cloudflare-docs-engine.

ispivey avatar ispivey commented on June 2, 2024 1

Hehe... it's not super important, but it's definitely the safest and most foolproof way to do accomplish this, so figure we should recommend it explicitly.

from cloudflare-docs-engine.

gabbifish avatar gabbifish commented on June 2, 2024

I think this issue has been resolved with the documentation for Workers Sites; these docs tell users to use wildcard routes if they are BYO zone. One thing we still don't do is create a dummy DNS record; We should put this in the docs (or... even have Wrangler create a dummy record using the DNS v4 API?)

from cloudflare-docs-engine.

EverlastingBugstopper avatar EverlastingBugstopper commented on June 2, 2024

I think it would definitely make sense to create a dummy A record (and maybe even some other CNAME records) when users publish to routes. It's unclear why DNS is necessary especially for Workers Sites and seems like something we should take care of automatically.

from cloudflare-docs-engine.

jmadruga-cf avatar jmadruga-cf commented on June 2, 2024

If we don't create a dummy A record, we should at least warn the user that they need one. It's a confusing first experience when you deploy a site. Right now you deploy with wrangler, it looks like it deployed but you're unable to ping the domain. People are conditioned to assume that it's a DNS delay and don't realize they need to take action on. Even if they did, it's not obvious that they should invent an IP for the dummy record.

from cloudflare-docs-engine.

ashleymichal avatar ashleymichal commented on June 2, 2024

closing as a platform-level problem.

from cloudflare-docs-engine.

adamschwartz avatar adamschwartz commented on June 2, 2024

@ispivey @rita3ko Please correct me if Iโ€™m wrong, but I believe this may cover it:

https://github.com/cloudflare/workers-docs-engine/blob/4b8501576d3ff65a9d981ba8c06b4afee648c060/src/content/learning/getting-started.md#L349

image

from cloudflare-docs-engine.

adamschwartz avatar adamschwartz commented on June 2, 2024

Good to know. I need to update my site now... hehe.

from cloudflare-docs-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.