Comments (7)
Gotcha! So basically what the app does is create a subdomain for a cloudfare's hosted TLD. Thanks man!
from cloudflare-sync.
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.
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.
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.
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.
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.
Yeah np, I clarified the readme for future folks. Happy using. :)
from cloudflare-sync.
Related Issues (8)
- Invalid format for Authorization header HOT 6
- Tries to update AAAA record with IPv4 HOT 5
- smartscreen HOT 1
- Stops working when the internet connection breaks. HOT 4
- Not able to connect with cloudflare API HOT 8
- Update of IP address reset TTL and proxied/dnsOnly value HOT 2
- Can't compile the binary HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflare-sync.