MichaCo / DnsClient.NET

DnsClient.NET is a simple yet very powerful and high performant open source library for the .NET Framework to do DNS lookups
https://dnsclient.michaco.net
Apache License 2.0
781 stars 137 forks source link

Making LookupClient disposable and improved TCP client pool #220

Open MichaCo opened 6 months ago

MichaCo commented 6 months ago

Making LookupClient and DnsMessageHandlers disposable. Primarily to dispose the TcpClient-pool. The pool could be empty if the TCP fallback was either disabled or never used, so it is not always necessary to dispose the LookupClient owning that resource.