netty5/resolver-dns-native-macos/src
Norman Maurer 660759b997
Use MacOSDnsServerAddressStreamProvider when on the classpath and we … (#10079)
Motivation:

939e928312 introduced MacOSDnsServerAddressStreamProvider which will ensure the right nameservers are selected when running on MacOS. To ensure this is done automatically on MacOS we should use it by default on these platforms.

Modifications:

Try to use MacOSDnsServerAddressStreamProvider when on MacOS via reflection and fallback if not possible

Result:

Ensure the right nameservers are used on MacOS even when a VPN (for example) is used.
2020-03-06 10:41:35 +01:00
..
main Use MacOSDnsServerAddressStreamProvider when on the classpath and we … (#10079) 2020-03-06 10:41:35 +01:00
test/java/io/netty/resolver/dns/macos Use MacOSDnsServerAddressStreamProvider when on the classpath and we … (#10079) 2020-03-06 10:41:35 +01:00