These are chat archives for CZ-NIC/knot-resolver
Knot Resolver: Resolve DNS names like it's 2019! https://www.knot-resolver.cz/support/
--verbosemode, no other simple options.
You could use Lua
Any pointers on that? I haven't seen many examples and the ones I've seen are usually dependent on someone knowing the internals of knot-resolver. If you have any quick pointers it would help me to look into it (rather than have a huge wide scope to investigate)
policy.patternimplementation. You want to always return
nil(no action, try further policies), but before that you can "do anything" with the query. https://gitlab.labs.nic.cz/knot/knot-resolver/blob/master/modules/policy/policy.lua#L416