- Oct 26, 2020
-
-
map() now depends on presence of control sockets, and by default config tests are executed with KRESD_NO_LISTEN=1 env var which prevents control sockets from being created. Tests for features which depend on map() now explicitly create their own control socket.
-
Previously exit trap executed command "kill -9" even if there were no leftover processes and this lead to clutter in logs because kill complained about missing arguments. As a bonus the cleanup routine now prints information about leftover processes.
-
Reasons: - It allows to run several kresd instances and use map() without worrying about instance parameters. - It removes special case from map(). Proper functionality depends on changes in MR !1011.
-
-
Serializes: boolean, nil, number, string, table. Skips all other types (functions, cdata, thread ...) and repeated references to tables. Resulting string should Lua-evaluate to identical objects.
-
This change allows map() to work with systemd integration. As a bonus the new client implementation is based on Lua cqueues allows caller to wrap map() in worker.corroutine() and get asynchronous execution/avoid blocking main loop. Currently socket communication does not employ timeouts so a hang instance will lead to hang map() call. This does not affect query processing _if_ map() is being run in worker.corroutine. Fixes: #554 Fixes: #620
-
- Oct 23, 2020
-
-
Tomas Krizek authored
daemon: lower EDNS buffer size to 1232 Closes #300 and #538 See merge request !920
-
Note: this commits affects just the small respdiffs, not the big ones.
-
-
-
- Oct 21, 2020
-
-
Petr Špaček authored
fix SERVFAIL in *FORWARD modes with certain CNAME setup Closes #614 See merge request !1070
-
It failed on a CNAME to a sibling name that's a zone cut. Fixed by a minimalistic approach - tweaking the conditions to always ask each CNAME step separately when forwarding.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
For now I was too afraid to use "multi-flag" kr_request::state, so I kept it at _FAIL; anyone can recognize it by NULL answer anyway. Lua wrapper: using exception was considered but didn't seem good. I utilized the fact that modules can return nil meaning no state change.
-
Vladimír Čunát authored
Resolves a FIXME, and this way of doing AD should be better/safer. (Lower likelihood of accidentally leaving it on in some situation.) GC test: the record is inserted manually with _SECURE rank but without signatures. I think it's better to return AD flag in that edge case.
-
Vladimír Čunát authored
FIXME: see FIXMEs in diff, document the API change, re-review.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
qname here wasn't lower-cased, so the match might not be correct. Still, practically all deployments use either root TA or none, and these can't be affected.
-
Vladimír Čunát authored
-
- Oct 20, 2020
-
-
Tomas Krizek authored
meson: update to version 0.49 See merge request !1082
-
Tomas Krizek authored
-
Tomas Krizek authored
treewide: unify ENABLE_* defines See merge request !1084
-
Two styles were used: (un)defined and 0/1. We switch to 0/1. Advantage: it can be used also like `if (ENABLE_FOO)` (outside preprocessor). Except for ./meson.build it's sed \ -e 's/#ifdef ENABLE_CAP_NG/#if ENABLE_CAP_NG/g' \ -e 's/#ifdef ENABLE_DOH2/#if ENABLE_DOH2/g' \ -e 's/defined(ENABLE_COOKIES)/ENABLE_COOKIES/g' \ -e 's/#ifdef ENABLE_COOKIES/#if ENABLE_COOKIES/g' \ -i $(git grep -l ENABLE_)
-
Tomas Krizek authored
ci: use docker image with XDP support See merge request !1085
-
Vladimír Čunát authored
-
- Oct 16, 2020
-
-
Vladimír Čunát authored
-
- Oct 15, 2020
-
-
Tomas Krizek authored
-
-
Tomas Krizek authored
-
Tomas Krizek authored
-
The "build-html-doc" ref-ID is preserved so as to not risk breaking Web links and similar.
-
Check for makeinfo during configuration and if found, generate and install documentation in Info format.
-
Tomas Krizek authored
Resolve "warn if static (unmanaged) key is used" Closes #251 See merge request !1051
-
Lukas Jezek authored
-
-
-
Lukas Jezek authored
-
Lukas Jezek authored
-
Lukas Jezek authored
-
- Oct 13, 2020
-
-
Lukas Jezek authored
doh2: C implementation of DoH using nghttp2 Closes #600 See merge request !997
-