- Apr 23, 2018
-
-
-
This is generally useful for parsing records from packet, as they are broken into individual RRs that need reassembling.
-
This adds metatype wrappers for kr_cache_insert_rr and kr_cache_sync for the cache metatype, and tests.
-
This updates the metatype to wrap knot_rrset_add_rdata and knot_rrset_init_empty in a nicer way, and adds automatic GC destructor and tests.
-
- Apr 12, 2018
-
-
Vladimír Čunát authored
-
- Mar 28, 2018
-
-
Vladimír Čunát authored
-
- Feb 15, 2018
-
-
Fields after kr_nsrep got offset; fortunately only new fields were added in there, unused from lua so far.
-
- Jan 31, 2018
-
-
Vladimír Čunát authored
Decision function is separated out.
-
- Jan 24, 2018
-
-
- Jan 23, 2018
-
-
Petr Špaček authored
-
- Jan 08, 2018
-
-
Marek Vavruša authored
This is a followup on addition of trace callbacks in the resolver library, to get rid of the Lua/C interfacing in daemon and unify it with the log tracing. All modules can now install completion callback on the kr_request object that will be called after the resolution is done.
-
- Jan 04, 2018
-
-
this surfaces the struct kr_cache through context variable, it doesn't implement any API or documented interface for it, so I just added a tests for the struct presence and introspection
-
-
-
- Dec 21, 2017
-
-
Marek Vavruša authored
This is useful in many troubleshooting scenarios when you want debug logs just for a single request. It's going to expand on TRACE flag functionality in the next PRs, so that special requests can be invoked with various tracers attached. Currently this is only available in the C modules that can set the callback, it's not called anywhere in the library yet.
-
- Dec 08, 2017
-
-
Check differences between real and monotonic time. It clears cache when this diffrence changes since last cache clear.
-
- Dec 07, 2017
-
-
This module is enabled by default, but disabled in Deckard tests.
-
- Nov 28, 2017
-
-
- Nov 24, 2017
-
-
Marek Vavruša authored
Also fixed improper promotion of `ffi` to global variable. ``` $ luacheck --codes daemon/lua/ Checking daemon/lua/config.lua OK Checking daemon/lua/kres-gen.lua OK Checking daemon/lua/kres.lua OK Checking daemon/lua/sandbox.lua OK Checking daemon/lua/trust_anchors.lua OK Checking daemon/lua/zonefile.lua OK Total: 0 warnings / 0 errors in 6 files ```
-
- Aug 01, 2017
-
-
Vladimír Čunát authored
-
- Jul 11, 2017
-
-
Vladimír Čunát authored
In particular, try to make the locally-served zones valid, including SOA and NS in apex, empty non-terminal vs. NXDOMAIN, etc. I might've missed something, but it should certainly be closer to ideal.
-
- Jul 07, 2017
-
-
Vitezslav Kriz authored
If CNAME chain occurs CNAME is placed before AAAA.
-
- Jun 13, 2017
-
-
Vladimír Čunát authored
-
- Mar 21, 2017
-
-
Vladimír Čunát authored
I see no sane way to set the flags from lua, so I made a C function.
-
- Mar 15, 2017
-
-
Vladimír Čunát authored
The output is only better if built with libknot >= 2.4.0. As a side-effect, add lua method knot_rrset_t::txt_dump; it's a light wrapper around knot_rrset_txt_dump. Re-tested rolling with a.moot-servers.net, to be sure.
-
- Feb 28, 2017
-
-
These shouldn't make any problems: - the verbose messages don't print any scope, and - reputation cache doesn't consider scope.
-
- Feb 16, 2017
-
-
Vladimír Čunát authored
-
- Jan 27, 2017
-
-
Vladimír Čunát authored
I believe it was unused, so no risk was caused, but better remove it. There's the complication that its signature has changed since libknot-2.4.0. Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/146
-
Vladimír Čunát authored
These shouldn't make any problems: - the verbose messages don't print any scope, and - reputation cache doesn't consider scope.
-
- Jan 11, 2017
-
-
Grigorii Demidov authored
-
- Dec 19, 2016
-
-
Ondřej Surý authored
-
Motivation: maintaining these by hand in kres.lua is tricky, as just inserting or reordering the structures can do anything and isn't detected in general. For example, `rr_array_t::at` has always "missed a star". A couple libknot structure fields have apparently changed name since the old definitions were written; in most cases I renamed them in *.lua. The file daemon/lua/kres-gen.lua will be regenerated only if explicitly deleted. That requires building with debug symbols and gdb on $PATH.
-