Package net.i2p.util

Class DNSOverHTTPS

java.lang.Object
net.i2p.util.DNSOverHTTPS
All Implemented Interfaces:
EepGet.StatusListener

public class DNSOverHTTPS
extends Object
implements EepGet.StatusListener
Simple implemetation of DNS over HTTPS. Also sets the local clock from the received date header. Warning - not thread-safe. Create new instances as necessary. As of 0.9.49, this supports the RFC 8484 (DNS) format only. Does NOT support the JSON format (used prior to 0.9.49) or RFC 7858 (DNS over TLS). https://developers.google.com/speed/public-dns/docs/dns-over-https https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/ https://github.com/curl/curl/wiki/DNS-over-HTTPS
Since:
0.9.35