DNS fails on Android Oreo (SDK 26) and later

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Builders
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: