GithubHelp home page GithubHelp logo

Comments (15)

JCAguilera avatar JCAguilera commented on May 19, 2024 2

Same happened to me today. Have you found any workarounds or fixes?

from cloudflare-ddns.

anthonydiiorio avatar anthonydiiorio commented on May 19, 2024 2

Any ideas where I can see what was deleted and restore it? I don't see any audit logs option in my Cloudflare DNS dashboard. Am I SoL?

https://dash.cloudflare.com/ click Audit Log in the navigation

from cloudflare-ddns.

kikkia avatar kikkia commented on May 19, 2024 1

I forked the repo and packaged a proposed pr to fix this. Until the pr is merged feel free to use this docker image registry.gitlab.com/kikkia/cloudflare-ddns its all open source if you want to verify what was changed.
https://gitlab.com/kikkia/cloudflare-ddns

from cloudflare-ddns.

mrtungdev avatar mrtungdev commented on May 19, 2024

Same :(

from cloudflare-ddns.

anthonydiiorio avatar anthonydiiorio commented on May 19, 2024

Same. Was able to restore records from the audit log thankfully.

from cloudflare-ddns.

debMan avatar debMan commented on May 19, 2024

Shit, same issue today

🧩 IPv4 not detected
🗑️ Deleted stale record 3f769304159294fa916c0950f45fb34f
🗑️ Deleted stale record 5c8c82a396502f7005671553baf5c981
🗑️ Deleted stale record 07847081a8b7acb596dd44970a50c454
🗑️ Deleted stale record 2041129286049685224070bd98e8c232
🗑️ Deleted stale record 6afee39b8b12bf8657e6e9eefa1f10cb
🗑️ Deleted stale record c96d0c8f99f263d86c9f3c148784786b

from cloudflare-ddns.

osholt avatar osholt commented on May 19, 2024

Has happened to me too, three times now! I thought I was going mad!

from cloudflare-ddns.

debMan avatar debMan commented on May 19, 2024

A quick fix:

Consider deleting the lines 46 and 57:

deleteEntries("A")

deleteEntries("AAAA")

    if ipv4_enabled:
        try:
            a = requests.get("https://1.1.1.1/cdn-cgi/trace").text.split("\n")
            a.pop()
            a = dict(s.split("=") for s in a)["ip"]
        except Exception:
            global shown_ipv4_warning
            if not shown_ipv4_warning:
                shown_ipv4_warning = True
                print("🧩 IPv4 not detected")
-            deleteEntries("A")
    if ipv6_enabled:
        try:
            aaaa = requests.get("https://[2606:4700:4700::1111]/cdn-cgi/trace").text.split("\n")
            aaaa.pop()
            aaaa = dict(s.split("=") for s in aaaa)["ip"]
        except Exception:
            global shown_ipv6_warning
            if not shown_ipv6_warning:
                shown_ipv6_warning = True
                print("🧩 IPv6 not detected")
-            deleteEntries("AAAA")

from cloudflare-ddns.

asheroto avatar asheroto commented on May 19, 2024

Same here. Thankfully my monitor kicked in and alerted me - it deletes the A record for my root domain, not my subdomain!

Audit log of Cloudflare shows it was the API

from cloudflare-ddns.

asheroto avatar asheroto commented on May 19, 2024

registry.gitlab.com/kikkia/cloudflare-ddns

Thank you, using this for now :-)

from cloudflare-ddns.

mendhak avatar mendhak commented on May 19, 2024

Just got hit by this, I lost my root domain records. 😢

cloudflare-ddns    | 2021-10-29T01:22:03.247134081Z 🧩 IPv4 not detected
cloudflare-ddns    | 2021-10-29T01:22:08.121012339Z 🗑️ Deleted stale record 527a13178ebe61eec4e8xxxxxxx
cloudflare-ddns    | 2021-10-29T01:22:09.237220819Z 🗑️ Deleted stale record 367cf05cd8f9e3323b2f13xxxxxx
cloudflare-ddns    | 2021-10-29T01:22:10.362698135Z 🗑️ Deleted stale record fc9a275ab1fe17f38d8abaxxxxxx
cloudflare-ddns    | 2021-10-29T01:22:11.983824424Z 🗑️ Deleted stale record a88c0318557cb36ab81xxxxxx
cloudflare-ddns    | 2021-10-29T01:22:16.897925571Z 🗑️ Deleted stale record 1ca9750837f94a18131xxxxxx

@timothymiller this can be pretty dangerous, would appreciate some attention on this 🙏

from cloudflare-ddns.

mendhak avatar mendhak commented on May 19, 2024

Any ideas where I can see what was deleted and restore it? I don't see any audit logs option in my Cloudflare DNS dashboard. Am I SoL?

from cloudflare-ddns.

mendhak avatar mendhak commented on May 19, 2024

Ah it's at the top level, I wasn't seeing it in my panic-vision. Thank you so much @anthonydiiorio

from cloudflare-ddns.

aaron2198 avatar aaron2198 commented on May 19, 2024

Same thing happened to me as well, deleted all a records.

from cloudflare-ddns.

timothymiller avatar timothymiller commented on May 19, 2024

This has been fixed in PR #57

from cloudflare-ddns.

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.