Knot Resolver

DNS over HTTPS

usage:
modules.load 'http'
modules.load 'doh'
http.add_interface {
   host = '192.0.2.1', port = 443,
   cert = 'fullchain.pem', key = 'privkey.pem',
   endpoints = {
      ['/dns-resolve'] = { 'dummy/type', doh.serve_doh }
   },
}

DoH client

requires libs of knot resolver, but does not require to run resolver.

CHAOS response

usage:
modules.load 'chaos'
chaos.version = 'version string'
chaos.identity = 'hostname'
-- query foo.bar.baz/CH/TXT -> answer 'foobar'
chaos[todname('foo.bar.baz')] = 'foobar'