[CSHARP-3438] DNS fails on Android Oreo (SDK 26) and later Created: 26/Feb/21  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Builders
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: James Kovacs Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: buildfest
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Support Xamarin

 Description   

The .NET/C# driver no longer works in Xamarin applications deployed on Android Oreo (SDK 26) and later because of new security restrictions introduced in that version. Access to net.dns is no longer permitted and DnsClient.NET (one of our dependencies) requires this to look up nameservers for DNS queries. See DnsClient.NET issue #17 for more information.

DnsClient.NET's LookupClient has an override that allows explicitly specifying nameservers rather than dynamically looking them up. We could provide an option to override nameserver lookup in our driver and users could implement the Android-specific (or other APIs) necessary to configure DNS correctly for their device/environment.


Generated at Wed Feb 07 21:45:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.