Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on Android Oreo #13

Closed
ursusursus opened this issue Oct 17, 2018 · 1 comment
Closed

Issue on Android Oreo #13

ursusursus opened this issue Oct 17, 2018 · 1 comment

Comments

@ursusursus
Copy link

ursusursus commented Oct 17, 2018

Hey, since android oreo https://developer.android.com/about/versions/oreo/android-8.0-changes

The system properties net.dns1, net.dns2, net.dns3, and net.dns4 are no longer available, a change that improves privacy on the platform.

This is a current workaround https://stackoverflow.com/a/48973823/1541188 is to replace ResolverConfig.findAndroid method with results of the DnsServersDetector.getServers, added to lserver list

This is unfortunate as library will need a dependency on android

@ibauersachs
Copy link
Member

Please read the readme:
https://github.com/dnsjava/dnsjava/blob/master/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants