Not working for Android 8+

I use MongoDB.Driver in my Xamarin VS project for Android 9. When i try to read data from server i get Exeption: Error resolving name servers (Object reference not set to an instance of an object.) (Could not find file “/etc/resolv.conf”) —> System.NullReferenceException: Object reference not set to an instance of an object.
MongoDB.Driver used DNSClient and it cannot get dns servers correct in android 8+.
Discussion of this problem is here MichaCo/DnsClient.NET#17. How can i configure my mongo db connection?