This is simple DNS-over-HTTPS service implementation with H2O HTTP/2 server. Code written using embedded mruby so the only thing you need to run own DoH service is H2O.
By default h2odoh use DNS resolver (Unbound is recommended) running on localhost port 53.
Requires Socket mrbgem build into H2O code. At this moment this gem is in H2O 2.3.0-beta2 but it might be easily added to any version by cloning in deps
directory before build.
Additional details can be found in the article "Own DNS-over-HTTPS server with H2O web-server" (Russian only).