Giter Site home page Giter Site logo

Comments (8)

wcawijngaards avatar wcawijngaards commented on August 18, 2024

Are you using the latest version? There are recent fixes in this area, so it may already have been fixed (if you are using an older version). What version are you using?

from nsd.

jaredmauch avatar jaredmauch commented on August 18, 2024

Version is that git commit in issue name.

from nsd.

wcawijngaards avatar wcawijngaards commented on August 18, 2024

Thanks! Did not see that. This is very recent. Bug looks like it happened in the AXFR of your zone svanheule.net. During the clean of the NSEC3 tree by hash. The tree looks like it contains eg. deleted values.
From the config it looks like you have a database file enabled, this is the default, but we recommend database: "" and then it writes to text files once in a while. I do not think that makes a difference for the bug in question.
I see that the zone is expired, from the SOA record that must mean it has no updates in 4 weeks. And the old version updated with the new version gives the problem. Is the problem reproducible by loading the old zone file (from text file, or from the database (can be exported with 'make udb-inspect', ./udb-inspect -l -vv > some_file and editing to get svanheule.net ) , then after loading it getting a fresh download over that? It would be nice to reproduce.

from nsd.

wcawijngaards avatar wcawijngaards commented on August 18, 2024

The stack trace indicates that your zone contents is from 'Mon 12 Nov 2018 04:30:31 PM CET'
It must have failed to update all this time. Also DNSSEC signatures I guess are expired in that version by now.
Another way to get the zone file is to move away (for analysis) the zonefile /etc/nsd/secondaries/svanheule.net (to `svanheule.net.bak' or something) and then nsd-control write svanheule.net

from nsd.

jaredmauch avatar jaredmauch commented on August 18, 2024

Do you want the files for debug purposes?

from nsd.

wcawijngaards avatar wcawijngaards commented on August 18, 2024

Yes, I am hoping to reproduce the crash by loading the old file (and perhaps also by triggering an AXFR transfer, it does not really seem to get into the contents of that new zone when the crash happens). You can also see if it does that if the crash happens again if you load the old zone file again.
If it does not do that, ehm. Something must be wrong, somehow. Some other debug would be needed.

from nsd.

jaredmauch avatar jaredmauch commented on August 18, 2024

Moving the zone file away seems to have mitigate this. It's still an odd crash.

from nsd.

jaredmauch avatar jaredmauch commented on August 18, 2024

Going to close this as likely fixed in #105

from nsd.

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.