- Aug 17, 2018
-
-
Vladimír Čunát authored
-
- Aug 14, 2018
-
-
Vladimír Čunát authored
... thanks to new API in libknot-2.7. Apart from being simpler, it now rotates even uncached answers.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
When at it, switch to generating the libzscanner bindings.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
The _t isn't uint8_t* anymore but a structure with .len and .data.
-
Vladimír Čunát authored
To work on RRSIG TTLs, libknot >= 2.7.1 is needed.
-
- Aug 07, 2018
-
-
Vladimír Čunát authored
Previously multiple kresd processes might use the same .lock file at once and thus have a race between writing and renaming. That could happen relatively often if starting many instances *at once*.
-
- Aug 03, 2018
-
-
Vladimír Čunát authored
The catch is that during configuration file processing, no cache is open (yet), as kresd can't know if the config does open it in some later part (with non-default path or size). Now we just throw an error. Exceptions: - cache.open() and cache.backends(), of course :-) - cache.ns_tout() - not required, it's not really inside cache - cache.close() - it sounds reasonable to allow "closing a closed cache" This immediately caught a typo in cache metatable.
-
- Jun 26, 2018
- Jun 25, 2018
- May 31, 2018
-
-
Previously the module was created on configuration time, so it wasn't possible to inject custom endpoints to the default interface.
-
- May 30, 2018
-
-
Marek Vavruša authored
The handlers in Lua can now store per-request variables that are automatically GC'd when the request is finished. This is useful for stateful modules, such as DNS64 that uses internal option flags for state tracking. The layers can now get a variable table like so: ``` local vars = kres.request_t(r):vars() vars.hello = true ``` The variables are persisted between different layers for each request.
-
- May 11, 2018
-
-
Vladimír Čunát authored
We don't need the end, but I prefer to get rid of the exception, as we now require libknot > 2.6 anyway and it only implies adding a few more binding lines.
-
Vladimír Čunát authored
Our Makefile required >= 2.6.4 for some time already. It's pretty straightforward, except for zonefile.lua.in -> zonefile.lua
-
- May 09, 2018
-
-
Only get-set operations are added, added some tests.
-
- Apr 23, 2018
-
-
Checking query flags instead of global context option allows setting overrides on individual queries. The effect is the same as query flags start by copying request flags which start by copying context options.
-
Wrapping the error code in a structure preserves both the numeric value and the ability to convert it into textual format.
-
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
-
- Mar 01, 2018
-
-
Vladimír Čunát authored
We use the knot style everywhere else; this was very similar and yet different, so really annoying to me. In the long term we might better migrate to qp-tries from knot, but the API differs, so it's delayed...
-