DNS-over-HTTPS for DNSlink-based plugins
Currently the DNSlink
-based plugins are only able to use the JSON endpoints, when provided by the DNS-over-HTTPS providers. This limits LibResilient to a handful of providers. We should implement the binary DNS wire format and the application/dns-message
content type to fix this.
To do:
-
implement minimal DNS wire format request handling -
implement minimal DNS wire format response handling -
caching according to TTL in responsesway too much work, this is a whole separate issue -
implement punycode handlingJSON API handles IDNs well; implementing punycode for DNS wire format is a whole separate issue -
write tests
Edited by Michał "rysiek" Woźniak