netty5/resolver-dns/src/test/java/io/netty/resolver/dns
Norman Maurer b874edbf65 DefaultDnsCache should expire all records per hostname when one TTL is reached.
Motivation:

At the moment DefaultDnsCache will expire each record dependong on its own TTL. This may result in unexpected results for the end-user especially if the user for example uses IPV4_PREFERED but the cached AAAA records has a higher TTL then the A records and so the A record was removed. In this case we would only return the AAAA record and not even try to refresh.

Modifications:

Always expire all records for a hostname when one TTL is reached.

Result:

Fixes [#7329]
2018-01-31 14:39:31 +01:00
..
DefaultDnsCacheTest.java DefaultDnsCache should expire all records per hostname when one TTL is reached. 2018-01-31 14:39:31 +01:00
DnsNameResolverClientSubnetTest.java DNS Resovler tests should be more explicit about ndots 2017-07-12 15:49:45 -07:00
DnsNameResolverTest.java Update domains in DnsNameResolverTest 2018-01-02 19:08:40 -05:00
DnsServerAddressesTest.java DNS move JDK DNS resolution out of DnsServerAddresses static initialization 2017-04-06 18:09:58 -07:00
SearchDomainTest.java Fix DN resolution when ndots is greater than 1 2017-11-20 14:01:16 +01:00
TestDnsServer.java Prefer JDK ThreadLocalRandom implementation over ours. 2017-02-16 15:44:00 -08:00
UnixResolverDnsServerAddressStreamProviderTest.java UnixResolverDnsServerAddressStreamProvider should allow for empty /etc/resolver dir 2017-07-05 20:14:27 -04:00