-
Methods Method Description io.netty5.resolver.dns.DnsAddressResolverGroup.newResolver(EventLoop, ChannelFactory<? extends DatagramChannel>, DnsServerAddressStreamProvider) io.netty5.resolver.dns.DnsNameResolverBuilder.authoritativeDnsServerCache(DnsCache) io.netty5.resolver.dns.DnsServerAddresses.defaultAddresses() UseDefaultDnsServerAddressStreamProvider.defaultAddresses().Returns the
DnsServerAddressesthat yields the system DNS server addresses sequentially. If it failed to retrieve the list of the system DNS server addresses from the environment, it will use"8.8.8.8"and"8.8.4.4", the addresses of the Google public DNS servers.This method has the same effect with the following code:
DnsServerAddresses.sequential(DnsServerAddresses.defaultAddressList());
io.netty5.resolver.dns.DnsServerAddresses.defaultAddressList() UseDefaultDnsServerAddressStreamProvider.defaultAddressList().Returns the list of the system DNS server addresses. If it failed to retrieve the list of the system DNS server addresses from the environment, it will return
"8.8.8.8"and"8.8.4.4", the addresses of the Google public DNS servers.