Uses of Interface
org.microproxy.dns.DnsTransport
Packages that use DnsTransport
-
Uses of DnsTransport in org.microproxy.dns
Methods in org.microproxy.dns that return DnsTransportModifier and TypeMethodDescriptionstatic DnsTransportDnsTransport.failover(List<DnsTransport> transports) Each oftransportsin turn: a query that fails with anIOException(a resolver that cannot be reached, times out or answers with an HTTP error) is sent to the next, and only when every one has failed does the query fail, with the last failure and the earlier ones suppressed in it.static DnsTransportDNS over HTTPS (RFC 8484) to a resolver such ashttps://cloudflare-dns.com/dns-queryorhttps://dns.google/dns-query.static DnsTransportDnsTransport.udp(List<InetSocketAddress> servers, Duration timeout) UDP to each server in turn, retrying over TCP when a response is truncated.Methods in org.microproxy.dns with parameters of type DnsTransportModifier and TypeMethodDescriptionDnssecHostResolver.Builder.transport(DnsTransport transport) A custom transport (e.g.Method parameters in org.microproxy.dns with type arguments of type DnsTransportModifier and TypeMethodDescriptionstatic DnsTransportDnsTransport.failover(List<DnsTransport> transports) Each oftransportsin turn: a query that fails with anIOException(a resolver that cannot be reached, times out or answers with an HTTP error) is sent to the next, and only when every one has failed does the query fail, with the last failure and the earlier ones suppressed in it.