Comments (4)
@fadenb I've submitted a PR to fix this issue, but until it has been accepted you can apply the patch manually as such:
diogotcorreia/dotfiles@431e8bc
Let me know if it works for you :)
from cfdyndns.
@diogotcorreia the patch works perfectly. Thank you :)
from cfdyndns.
I've literally just encountered this problem myself (after my IP changed and the DNS did not update; I found that the cfdyndns service had failed).
After some digging, it seems like it's a problem in the cloudflare
crate (of which I could not find any GitHub link of): https://docs.rs/crate/cloudflare/latest/source/src/endpoints/dns.rs
The enum DnsContent
does not have a CAA
record, which causes the parsing of the API response to fail.
I'm really not sure how to fix it, I think we are dependent on upstream fixing the issue (not sure how to report it either; I could not find an issue tracker).
from cfdyndns.
Upon some further inspection, I think it should be possible to go around this problem by adding some parameters to the fetch request:
Line 178 in bd02dd0
https://docs.rs/cloudflare/latest/cloudflare/endpoints/dns/struct.ListDnsRecordsParams.html
Feel free to make a PR fixing this if you can, otherwise I should be able to submit one a few days from now.
from cfdyndns.
Related Issues (13)
- Should support a flag to set ip based off of NIC
- Wrong Cargo.lock in v0.0.2 HOT 6
- FR: support user API keys HOT 8
- cfdyndns enable proxy when changing IP
- allow setting AAAA records (ivp6 support) HOT 1
- SSL error HOT 2
- transfer ownership to nrdxp HOT 4
- Nixos, SOPS, and apitokenfile = Invalid format for Authorization header
- NixOS failed to parse header value
- Error: error sending request for url (https://api.cloudflare.com/client/v4/zones): error trying to connect: dns error: failed to lookup address information: Name or service not known
- bug: missing field `multiple_railguns_allowed` HOT 6
- stuck forever 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 cfdyndns.