- Mar 21, 2017
-
-
Vladimír Čunát authored
-
- Mar 15, 2017
-
-
Vladimír Čunát authored
Fixes #167.
-
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.
-
Vladimír Čunát authored
-
- Mar 06, 2017
-
-
- Feb 27, 2017
-
-
Vladimír Čunát authored
The format of TA store is compatible both ways with old kresd. Note: it requires the parent commit to work, i.e. new libzscanner.
-
Vladimír Čunát authored
Comment parsing will only be supported in future libzscanner version. Also move out of the module, as trust_anchors.lua requires it and isn't in a module.
-
- Feb 16, 2017
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
- Feb 13, 2017
-
-
Vladimír Čunát authored
engine_cmd() doesn't print the error() exceptions thrown from lua; it only leaves the message on lua stack.
-
Vladimír Čunát authored
-
- Feb 09, 2017
-
-
Vladimír Čunát authored
- Remove abstraction of the refresh callback, as we always use the same function. This way the code is significantly easier to understand. - Add a couple more comments.
-
Vladimír Čunát authored
It was strange to keep it indefinitely, and the code was already half-prepared for this change. Theoretically, if a resolver has been stopped for too long to miss a key's period of Revoked status, it would continue to trust the key forever.
-
Vladimír Čunát authored
- printing refresh time in milliseconds could've been confusing; - move syntactic sugar definitions close to the rest of the table;
-
Vladimír Čunát authored
... via trust_anchors.{bootstrap_url,bootstrap_ca}
-
Vladimír Čunát authored
-
- Feb 08, 2017
-
-
Vladimír Čunát authored
- docs: fix cache.current_* since long ago d5272b4b - don't allow "cache.foo = 'bar'" for abitrary foo - restore cache['nic.cz'] after b31bad2ccf while not breaking completion - #cache won't work on lua 5.1, so remove it
-
- Feb 03, 2017
-
-
Štěpán Balážik authored
-
That will allow us to discover the top-level symbols for completion. For others we can e.g.: for n in pairs(net) do print(n); end I must admit I fail to understand some of the related lua magic.
-
- 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 23, 2017
-
-
Grigorii Demidov authored
-
- Jan 20, 2017
-
-
Grigorii Demidov authored
-
- Jan 18, 2017
-
-
Grigorii Demidov authored
-
- Jan 16, 2017
-
-
Petr Špaček authored
-
Ondřej Surý authored
-
Grigorii Demidov authored
-
-
- Jan 11, 2017
-
-
On standard 64-bit: 24 -> 16 bytes per element.
-
-
Grigorii Demidov authored
-
- Dec 19, 2016
-
-
Ondřej Surý authored
-
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.
-
- Dec 02, 2016
-
-
Vladimír Čunát authored
Fixes https://github.com/CZ-NIC/knot-resolver/issues/35.
-
- Nov 28, 2016
-
-
Vladimír Čunát authored
-
- Nov 14, 2016
-
-
Ondřej Surý authored
-
- Nov 13, 2016
-
-
Daniel Kahn Gillmor authored
-
- Nov 08, 2016
-
-
Vladimír Čunát authored
Some structures have changed but lua was still using the old ABI. I think no our lua code used the fields misplaced due to this, except an example in documentation. I didn't check much of the ABI in there. I wish I knew some (half-)automatic way how to do that.
-