dnsjit.output.respdiff(3)
π dnsjit.output.respdiff β the manual page, but make it cute π
ok so bestie, welcome to the dnsjit.output.respdiff(3) page, from the dnsjit Library Functions Manual. this one's all about yeeting your DNS responses into an LMDB so respdiff can gossip about them later. let's go β¨
πΈ NAME πΈ
dnsjit.output.respdiff β Output to respdiff LMDB π«Ά
β¨ SYNOPSIS β¨
local output = require("dnsjit.output.respdiff").new("/path/to/lmdb")
π DESCRIPTION π
so this module outputs into an LMDB database (the format is 2018-05-21, very specific, respect it) that respdiff can then use to compare the responses it found in your input data against the responses that actually got received. iconic behavior fr fr.
the receive function expects a chain of 2 or 3 core.object.payload objects. here's the vibe:
- for a completed query: the top of the chain is the query, then after it the original response, and then the received response (so that's 3 total, slay).
- for a timed out query: the top of the chain is the query, and after it the original response (just 2, it's giving minimal).
π Functions π
Respdiff.new(path, origname, recvname, mapsize)β make a brand new Respdiff output and create the LMDB database inside the directorypath. theorignameandrecvnameget used to populate the meta table, and these names should be the same as what is configured inrespdiff.cfg(iykyk, don't get cute with them). the optionalmapsizecan be passed in to bump the database size up beyond the default size of 10MB.Respdiff:log()β hands you back the Log object so you can control logging for this instance or module. πͺ΅Respdiff:receive()β returns the C functions and context for receiving objects. π«΄Respdiff:commit(start_time, end_time)β commits the LMDB transactions. heads up: you cannot store any more objects after this call, that's it, doors closed, periodt. thestart_timeandend_timeyou pass in are used to fill the meta table. β°
π SEE ALSO π
respdiffβ https://gitlab.nic.cz/knot/respdiff
π AUTHORS and CONTRIBUTORS π
the literal main characters behind this:
- Jerry LundstrΓΆm (DNS-OARC)
- TomΓ‘Ε‘ KΕΓΕΎek (CZ.NIC)
- Petr Ε paΔek (ISC)
Maintained by DNS-OARC π
https://www.dns-oarc.net/
π BUGS π
found a bug? want a feature? the way that you should tell them:
https://codeberg.org/DNS-OARC/dnsjit/issues
got a question or need help instead? no worries bestie:
admin@dns-oarc.net
and that's the whole page!! this was dnsjit version 1.5.1, and the manual section is dnsjit.output.respdiff(3). ty for reading, go commit your LMDBs responsibly π¦π
π¦ where this page comes from
- epel 10: dnsjit 1.5.1-2.el10_2 Β· GPL-3.0-or-later
- epel 9: dnsjit 1.5.1-2.el9 Β· GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 Β· GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 Β· GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 Β· GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 Β· GPL-3.0-or-later
- ubuntu resolute: dnsjit 1.5.1-2 Β· GPL-3.0-or-later
- ubuntu stonking: dnsjit-dev 1.5.1-6 Β· GPL-3.0-or-later
- Copyright (c) 2018-2026 OARC, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms