netty5/resolver-dns/src/main/java/io/netty/resolver/dns
Norman Maurer c1b1d6268a Allow to detect failed query caused by an Timeout / IO error and also not cache these.
Motivation:

At the moment there is not way for the user to know if resolving a domain was failed because the domain was unkown or because of an IO error / timeout. If it was caused by an timeout / IO error the user may want to retry the query. Also if the query was failed because of an IO error / timeout we should not cache it.

Modifications:

- Add DnsNameResolverTimeoutException and include it in the UnkownHostException if the domain could not be resolved because of an timeout. This will allow the user to retry the query when inspecting the cause.
- Do not cache IO errors / timeouts
- Add unit test

Result:

Easier for users to implement retries for DNS querys and not cache IO errors / timeouts.
2017-11-23 10:56:41 +01:00
..
BiDnsQueryLifecycleObserver.java Replace DnsNameResolverContext#trace special code with an implementation of DnsQueryLifecycleObserver 2017-06-23 09:04:59 -07:00
BiDnsQueryLifecycleObserverFactory.java Replace DnsNameResolverContext#trace special code with an implementation of DnsQueryLifecycleObserver 2017-06-23 09:04:59 -07:00
DefaultDnsCache.java Decouple DnsCache and DnsCacheEntry 2017-08-21 11:15:27 -07:00
DefaultDnsServerAddresses.java Replace infinite Iterable/Iterator with dedicated types 2015-08-26 17:38:43 +09:00
DefaultDnsServerAddressStreamProvider.java Choose ipv4 or ipv6 google dns servers as default fallback based on the settings for this system / jvm 2017-07-26 20:33:52 +02:00
DnsAddressResolverGroup.java DNS Resolve ambiguity in which DNS servers are used during resolution 2017-03-31 15:29:49 -07:00
DnsCache.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsCacheEntry.java Decouple DnsCache and DnsCacheEntry 2017-08-21 11:15:27 -07:00
DnsNameResolver.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsNameResolverBuilder.java DNS Resolver Search Domain Bugs 2017-06-22 00:05:43 -07:00
DnsNameResolverContext.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsNameResolverException.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsNameResolverTimeoutException.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsQueryContext.java Allow to detect failed query caused by an Timeout / IO error and also not cache these. 2017-11-23 10:56:41 +01:00
DnsQueryContextManager.java fix the typos 2017-04-20 04:56:09 +02:00
DnsQueryLifecycleObserver.java DNS Resolver visibility into individual queries 2017-04-27 15:17:20 -07:00
DnsQueryLifecycleObserverFactory.java DNS Resolver visibility into individual queries 2017-04-27 15:17:20 -07:00
DnsServerAddresses.java DNS move JDK DNS resolution out of DnsServerAddresses static initialization 2017-04-06 18:09:58 -07:00
DnsServerAddressStream.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
DnsServerAddressStreamProvider.java DNS Resolve ambiguity in which DNS servers are used during resolution 2017-03-31 15:29:49 -07:00
DnsServerAddressStreamProviders.java Don't try to use UnixResolverDnsServerAddressStreamProvider when on Windows. 2017-11-13 20:26:38 +01:00
InflightNameResolver.java Do not send duplicate DNS queries when the same query is in progress already 2016-05-17 15:07:36 +02:00
MultiDnsServerAddressStreamProvider.java DNS Resolve ambiguity in which DNS servers are used during resolution 2017-03-31 15:29:49 -07:00
NoopDnsCache.java Decouple DnsCache and DnsCacheEntry 2017-08-21 11:15:27 -07:00
NoopDnsQueryLifecycleObserver.java DNS Resolver visibility into individual queries 2017-04-27 15:17:20 -07:00
NoopDnsQueryLifecycleObserverFactory.java DNS Resolver visibility into individual queries 2017-04-27 15:17:20 -07:00
package-info.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RotationalDnsServerAddresses.java Remove usage of own Atomic*FieldUpdater in favor of JDKs 2016-12-15 08:09:06 +00:00
RoundRobinDnsAddressResolverGroup.java DNS Resolve ambiguity in which DNS servers are used during resolution 2017-03-31 15:29:49 -07:00
SequentialDnsServerAddressStream.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
SequentialDnsServerAddressStreamProvider.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
ShuffledDnsServerAddressStream.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
SingletonDnsServerAddresses.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
SingletonDnsServerAddressStreamProvider.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
TraceDnsQueryLifecycleObserver.java Replace DnsNameResolverContext#trace special code with an implementation of DnsQueryLifecycleObserver 2017-06-23 09:04:59 -07:00
TraceDnsQueryLifeCycleObserverFactory.java Replace DnsNameResolverContext#trace special code with an implementation of DnsQueryLifecycleObserver 2017-06-23 09:04:59 -07:00
UniSequentialDnsServerAddressStreamProvider.java DNS Resolver should be more consistent with JDK resolution 2017-07-05 09:10:59 -04:00
UnixResolverDnsServerAddressStreamProvider.java UnixResolverDnsServerAddressStreamProvider should allow for empty /etc/resolver dir 2017-07-05 20:14:27 -04:00