Support DoH JSON API
$ curl -H 'accept: application/dns-json' 'https://dnsproxy.lan:8443/dns-query?name=example.com&type=A' -k
Bad Request
https://developers.google.com/speed/public-dns/docs/doh/json
Is anyone working on this (or is it planned in some way)? If not, I could try my hand at implementing the JSON API for dnsproxy myself. It's something I would really like having support for on my network. Also open for collaboration on this, if anyone else is interested.
~When I ran agh in debug mode then it appeared that the issue is ParseAddr, like it is unable to parse IP of the request.~
That is not the issue. But yes, it doesn't support /dns-query?name=example.com&type=A
It does support /dns-query?dns=BASE64string_query
For my usage I got it working, HAproxy can make some health checks now without spamming into log