[CSHARP-3038] Use a single instance of DnsClient.LookupClient per process Created: 02/Apr/20  Updated: 28/Oct/23  Resolved: 13/Apr/20

Status: Closed
Project: C# Driver
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: 2.11.0

Type: Improvement Priority: Major - P3
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

According to the documentation https://dnsclient.michaco.net/ :

It is important to note, that it is highly recommended to instantiate the lookup client only once per application and to always use the same reference (singleton). 

LookupClient instance is recommended to be singleton. We need to apply this recommendation.



 Comments   
Comment by Githook User [ 13/Apr/20 ]

Author:

{'name': 'DmitryLukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3038: Use a single instance of DnsClient.LookupClient per process.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/88588c9479e55092477b44f04d18a262cee797fb

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