netty5/resolver-dns/src/test
Norman Maurer 4bd068edf0 DnsNameResolver.resolveAll(...) should not include duplicates (#9021)
Motivation:

DnsNameResolver#resolveAll(String) may return duplicate results in the event that the original hostname DNS response includes an IP address X and a CNAME that ends up resolving the same IP address X. This behavior is inconsistent with the JDK’s resolver and is unexpected to retrun a List with duplicate entries from a resolveAll(..) call.

Modifications:

- Filter out duplicates
- Add unit test

Result:

More consistent and less suprising behavior
2019-04-09 09:49:42 +02:00
..
java/io/netty/resolver/dns DnsNameResolver.resolveAll(...) should not include duplicates (#9021) 2019-04-09 09:49:42 +02:00
resources [#4289] Use a mock DNS Server for dns tests. 2015-10-10 20:27:34 +02:00