netty5/resolver-dns/src/main/java/io/netty/resolver/dns
Norman Maurer b40ae95044 Select correct nameserver for CNAME (#10272)
Motivation:

The nameserver that should / must be used to resolve a CNAME may be different then the nameserver that was selected for the hostname to resolve. Failing to select the correct nameserver may result in problems during resolution.

Modifications:

Use the correct DnsServerAddressStream for CNAMEs

Result:

Always use the correct DnsServerAddressStream for CNAMEs and so fix resolution failures which could accour when CNAMEs are in the mix that use a different domain then the original hostname that we try to resolve
2020-05-12 08:47:11 +02:00
..
AuthoritativeDnsServerCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
AuthoritativeDnsServerCacheAdapter.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
BiDnsQueryLifecycleObserver.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
BiDnsQueryLifecycleObserverFactory.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
Cache.java migrate java8 (#8779) 2019-01-28 05:55:30 +01:00
DatagramDnsQueryContext.java Add support for TCP fallback when we receive a truncated DnsResponse (#9139) 2019-05-17 14:47:10 +02:00
DefaultAuthoritativeDnsServerCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DefaultDnsCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DefaultDnsCnameCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DefaultDnsServerAddresses.java Correctly handle DNS redirects for NS servers that have no ADDITIONAL record (#8177) 2018-08-22 17:49:22 +02:00
DefaultDnsServerAddressStreamProvider.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DirContextUtils.java Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00
DnsAddressDecoder.java Add DnsNameResolver.resolveAll(DnsQuestion) (#7803) 2018-03-29 22:01:25 +02:00
DnsAddressResolveContext.java Stop sending DNS queries if promise is cancelled (#10171) 2020-04-07 13:52:08 +02:00
DnsAddressResolverGroup.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsCacheEntry.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsCnameCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsNameResolver.java Don't log with warn level in the DnsNameResolver in most cases (#10225) 2020-04-29 08:08:39 +02:00
DnsNameResolverBuilder.java Dns resolver: honor resolv.conf timeout, rotate and attempts options (#10207) 2020-04-28 09:33:11 +02:00
DnsNameResolverException.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsNameResolverTimeoutException.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsQueryContext.java Fix DnsNameResolver TCP fallback test and message leaks (#9647) 2019-10-14 16:34:18 +02:00
DnsQueryContextManager.java Java 8 migration. Remove ThreadLocalProvider and inline java.util.concurrent.ThreadLocalRandom.current() where necessary. (#8762) 2019-01-22 20:14:28 +01:00
DnsQueryLifecycleObserver.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsQueryLifecycleObserverFactory.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsRecordResolveContext.java Stop sending DNS queries if promise is cancelled (#10171) 2020-04-07 13:52:08 +02:00
DnsResolveContext.java Select correct nameserver for CNAME (#10272) 2020-05-12 08:47:11 +02:00
DnsServerAddresses.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsServerAddressStream.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsServerAddressStreamProvider.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
DnsServerAddressStreamProviders.java Replace reflection usage with MethodHandles when performance matters (#10097) 2020-03-11 21:04:40 +01:00
InflightNameResolver.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
MultiDnsServerAddressStreamProvider.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
NameServerComparator.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
NoopAuthoritativeDnsServerCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
NoopDnsCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
NoopDnsCnameCache.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
NoopDnsQueryLifecycleObserver.java DNS Resolver visibility into individual queries 2017-04-27 15:17:20 -07:00
NoopDnsQueryLifecycleObserverFactory.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
package-info.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
PreferredAddressTypeComparator.java DnsNameResolver.resolveAll(...) should also contain non preferred addresses (#9044) 2019-04-15 10:33:04 +02:00
RotationalDnsServerAddresses.java Correctly handle DNS redirects for NS servers that have no ADDITIONAL record (#8177) 2018-08-22 17:49:22 +02:00
RoundRobinDnsAddressResolverGroup.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
SequentialDnsServerAddressStream.java Correctly handle DNS redirects for NS servers that have no ADDITIONAL record (#8177) 2018-08-22 17:49:22 +02:00
SequentialDnsServerAddressStreamProvider.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
ShuffledDnsServerAddressStream.java Java 8 migration. Remove ThreadLocalProvider and inline java.util.concurrent.ThreadLocalRandom.current() where necessary. (#8762) 2019-01-22 20:14:28 +01:00
SingletonDnsServerAddresses.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
SingletonDnsServerAddressStreamProvider.java Remove @UnstableApi annotation from resolver-* (#9952) 2020-01-15 09:18:02 +01:00
TcpDnsQueryContext.java Add support for TCP fallback when we receive a truncated DnsResponse (#9139) 2019-05-17 14:47:10 +02:00
TraceDnsQueryLifecycleObserver.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
TraceDnsQueryLifeCycleObserverFactory.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
UniSequentialDnsServerAddressStreamProvider.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
UnixResolverDnsServerAddressStreamProvider.java Dns resolver: honor resolv.conf timeout, rotate and attempts options (#10207) 2020-04-28 09:33:11 +02:00
UnixResolverOptions.java Dns resolver: honor resolv.conf timeout, rotate and attempts options (#10207) 2020-04-28 09:33:11 +02:00