Giter Club home page Giter Club logo

Comments (7)

nodefive avatar nodefive commented on June 29, 2024 1

Gotcha! So basically what the app does is create a subdomain for a cloudfare's hosted TLD. Thanks man!

from cloudflare-sync.

siennathesane avatar siennathesane commented on June 29, 2024

Sure, I can help. Some questions:

  • Can you paste any errors you're getting?
  • What does your production.json file look like?
  • How is this deployed?

from cloudflare-sync.

nodefive avatar nodefive commented on June 29, 2024

Hey Mike, thanks for the light speed reply! First of all, nice kid! Enjoy, cuz they grow like weed, you blink and they are out of the house already.

I was just testing the app actually. No ACTUAL production need for it (yet). I came because of the headline of the news (the hacker one): "use to create and manage dyns" (or something like that). The json I have is the plain one, I've only changed the domain. Here is what happens:

[~/Desktop/cloudflare-sync-master] $ ./cloudflare-sync -api-token <MY_C.FARE_API_KEY_FOR_MLDO> production.json -zone-id MLDO
2019/09/05 17:53:09 hello from boulder.
2019/09/05 17:53:09 starting up workers.
2019/09/05 17:53:09 workers booted.
2019/09/05 17:53:39 refreshing public ip.
2019/09/05 17:53:43 current public ip is <MY_IP>.
2019/09/05 17:53:44 cannot get upstream records: error from makeRequest: HTTP status 400: content "{\"success\":false,\"errors\":[{\"code\":7003,\"message\":\"Could not route to \\/zones\\/dns_records, perhaps your object identifier is invalid?\"},{\"code\":7000,\"message\":\"No route for that URI\"}],\"messages\":[],\"result\":null}"

I actually did not understand how this goes. How can I create a dyn? I've tried with valid TLDs I own and with fake ones. Everything gives me this error.

Json:

  {
    "type": "A",
    "name": "somesubdomain.real-or-fake.com",
    "proxied": true,
    "ttl": 120,
    "priority": 1
  }
]

from cloudflare-sync.

siennathesane avatar siennathesane commented on June 29, 2024

Thanks!

Does the test record exist? I haven't tested it with non-existent records, all of the records I use already exist, so that very well might be the problem.

from cloudflare-sync.

nodefive avatar nodefive commented on June 29, 2024

Yeah I've tested with fake domains, but also used a real one I own, but it is hosted by godaddy. btw I failed my DNS records class, so I'm really not confided of what I am doing. :(

from cloudflare-sync.

siennathesane avatar siennathesane commented on June 29, 2024

Ah, okay, that would be part of the problem. You need to have a site with Cloudflare, and have a hosted zone with them. If you don't have that, then it won't work.

Sorry!

from cloudflare-sync.

siennathesane avatar siennathesane commented on June 29, 2024

Yeah np, I clarified the readme for future folks. Happy using. :)

from cloudflare-sync.

Related Issues (8)

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.