Uses of Interface
io.netty5.resolver.dns.DnsServerAddressStreamProvider
-
Packages that use DnsServerAddressStreamProvider Package Description io.netty5.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well.io.netty5.resolver.dns.macos MacOS specific nameserver resolution. -
-
Uses of DnsServerAddressStreamProvider in io.netty5.resolver.dns
Classes in io.netty5.resolver.dns that implement DnsServerAddressStreamProvider Modifier and Type Class Description class
DefaultDnsServerAddressStreamProvider
ADnsServerAddressStreamProvider
which will use predefined default DNS servers to use for DNS resolution.class
MultiDnsServerAddressStreamProvider
ADnsServerAddressStreamProvider
which iterates through a collection ofDnsServerAddressStreamProvider
until the first non-null
result is found.class
SequentialDnsServerAddressStreamProvider
ADnsServerAddressStreamProvider
which is backed by a sequential list of DNS servers.class
SingletonDnsServerAddressStreamProvider
ADnsServerAddressStreamProvider
which always uses a single DNS server for resolution.class
UnixResolverDnsServerAddressStreamProvider
Able to parse files such as /etc/resolv.conf and /etc/resolver to respect the system default domain servers.Methods in io.netty5.resolver.dns that return DnsServerAddressStreamProvider Modifier and Type Method Description protected DnsServerAddressStreamProvider
DnsNameResolverBuilder. nameServerProvider()
static DnsServerAddressStreamProvider
DnsServerAddressStreamProviders. platformDefault()
ADnsServerAddressStreamProvider
which inherits the DNS servers from your local host's configuration.static DnsServerAddressStreamProvider
DnsServerAddressStreamProviders. unixDefault()
Methods in io.netty5.resolver.dns with parameters of type DnsServerAddressStreamProvider Modifier and Type Method Description DnsNameResolverBuilder
DnsNameResolverBuilder. nameServerProvider(DnsServerAddressStreamProvider dnsServerAddressStreamProvider)
Set theDnsServerAddressStreamProvider
which is used to determine which DNS server is used to resolve each hostname.protected NameResolver<InetAddress>
DnsAddressResolverGroup. newNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)
Creates a newNameResolver
.protected AddressResolver<InetSocketAddress>
DnsAddressResolverGroup. newResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)
Constructors in io.netty5.resolver.dns with parameters of type DnsServerAddressStreamProvider Constructor Description DnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)
DnsAddressResolverGroup(Class<? extends DatagramChannel> channelType, DnsServerAddressStreamProvider nameServerProvider)
DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, String[] searchDomains, int ndots, boolean decodeIdn)
Deprecated.DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, DnsCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, String[] searchDomains, int ndots, boolean decodeIdn)
Deprecated.MultiDnsServerAddressStreamProvider(DnsServerAddressStreamProvider... providers)
Create a new instance.RoundRobinDnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)
RoundRobinDnsAddressResolverGroup(Class<? extends DatagramChannel> channelType, DnsServerAddressStreamProvider nameServerProvider)
Constructor parameters in io.netty5.resolver.dns with type arguments of type DnsServerAddressStreamProvider Constructor Description MultiDnsServerAddressStreamProvider(List<DnsServerAddressStreamProvider> providers)
Create a new instance. -
Uses of DnsServerAddressStreamProvider in io.netty5.resolver.dns.macos
Classes in io.netty5.resolver.dns.macos that implement DnsServerAddressStreamProvider Modifier and Type Class Description class
MacOSDnsServerAddressStreamProvider
DnsServerAddressStreamProvider
implementation which makes use of the same mechanism as Apple's open source mDNSResponder to retrieve the current nameserver configuration of the system.
-