jonathonmcmurray / reQ

HTTP requests library in kdb+/q
http://jmcmurray.co.uk/reQ/
MIT License
38 stars 9 forks source link

Add support for DNS-over-HTTPS #4

Open jonathonmcmurray opened 6 years ago

jonathonmcmurray commented 6 years ago

DNS-over-HTTPS provides the functionality to perform DNS lookups over HTTPS rather than in plaintext, giving increased security.

APIs for this are provided by Google and CloudFlare, support should be added for these (disabled by default)

Google: https://developers.google.com/speed/public-dns/docs/dns-over-https#api_specification CloudFlare: https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/

CloudFlare also provide a version accepting & returning DNS wireformat rather than JSON, support for that could also be added: https://developers.cloudflare.com/1.1.1.1/dns-over-https/wireformat/

RFCs

https://tools.ietf.org/html/rfc7858 https://tools.ietf.org/html/rfc8310 https://tools.ietf.org/html/rfc8484