Giter Club home page Giter Club logo

Comments (4)

diogotcorreia avatar diogotcorreia commented on July 18, 2024 1

@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.

fadenb avatar fadenb commented on July 18, 2024 1

@diogotcorreia the patch works perfectly. Thank you :)

from cfdyndns.

diogotcorreia avatar diogotcorreia commented on July 18, 2024

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.

diogotcorreia avatar diogotcorreia commented on July 18, 2024

Upon some further inspection, I think it should be possible to go around this problem by adding some parameters to the fetch request:

params: ListDnsRecordsParams::default(),

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)

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.