modules: add module to refuse queries without RD bit set

Refusing to answer queries without RD bit makes it harder
to read what data is present in resolver's cache. This should improve
privacy of the resolver's users, especially for public open resolvers.
29 jobs for <span class="ref-name">refuse-nord</span> in 7 minutes and 44 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #280337
docker linux amd64
archive

00:00:54

passed #280338
docker linux amd64
build

00:01:02

passed #280339
docker linux amd64
build-asan

00:01:05

passed #280340
docker
kres-gen

00:01:01

 
  Test
passed #280341
docker delayed
build:darwin

00:00:54

passed #280342
docker linux amd64
deckard

00:02:47

passed #280343
docker delayed
doc

00:01:14

passed #280344
dind
docker

00:02:11

failed #280345
docker delayed
lint:other

00:00:51

passed #280346
docker linux amd64 delayed
lint:pedantic

00:01:17

passed #280347
docker linux amd64
lint:scan-build

00:02:28

passed #280348
docker linux amd64
lint:tidy

00:03:14

failed #280364
privileged
pkg:epel-7

00:02:45

failed #280365
privileged
pkg:fedora-29

00:02:35

passed #280351
docker linux amd64
respdiff:basic

00:04:42

passed #280352
docker linux amd64 delayed
test:valgrind

00:02:17

failed #280349
privileged
pkg:epel-7

00:03:17

failed #280350
privileged
pkg:fedora-29

00:03:53

 
  Extended
skipped #280354
respdiff
fwd-tls6-kresd.udp6
skipped #280355
respdiff
fwd-udp6-kresd.udp6
skipped #280359
respdiff
fwd-udp6-unbound.tcp6
skipped #280360
respdiff
fwd-udp6-unbound.tls6
skipped #280358
respdiff
fwd-udp6-unbound.udp6
skipped #280357
respdiff
iter.tls6
skipped #280356
respdiff
iter.udp6
skipped #280353
docker linux amd64
pytests
skipped #280361
respdiff
resperf:fwd-tls6.udp-asan
skipped #280362
respdiff
resperf:fwd-udp6.udp-asan
skipped #280363
respdiff
resperf:iter.udp-asan
 
Name Stage Failure
failed
pkg:fedora-29 Test

Running after script...
$ mv /var/lib/mock/fedora-29-x86_64/result fedora-29-x86_64
Uploading artifacts...
WARNING: epel-7-x86_64/: no matching files
fedora-29-x86_64/: found 6 matching files
*.src.rpm: found 1 matching files
Uploading artifacts to coordinator... ok id=280365 responseStatus=201 Created token=Y_L3g5qJ
ERROR: Job failed: exit code 1
failed
pkg:epel-7 Test

Running after script...
$ mv /var/lib/mock/epel-7-x86_64/result epel-7-x86_64
Uploading artifacts...
epel-7-x86_64/: found 6 matching files
WARNING: fedora-29-x86_64/: no matching files
*.src.rpm: found 1 matching files
Uploading artifacts to coordinator... ok id=280364 responseStatus=201 Created token=QB1Pvkux
ERROR: Job failed: exit code 1
failed
lint:other Test
ok 50 /builds/knot/knot-resolver/tests/config/cache.test.lua
ok 51 /builds/knot/knot-resolver/tests/config/lru.test.lua
ok 52 /builds/knot/knot-resolver/tests/config/test_utils.lua
ok 53 /builds/knot/knot-resolver/tests/config/tls.test.lua
ok 54 /builds/knot/knot-resolver/tests/config/worker.test.lua
FAILED: meson-luacheck
/usr/bin/meson --internal commandrunner /builds/knot/knot-resolver /builds/knot/knot-resolver/build_ci_lint '' /usr/bin/meson /usr/local/bin/luacheck --codes --formatter TAP /builds/knot/knot-resolver
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1