DnsCore 0.3.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DnsCore --version 0.3.2
NuGet\Install-Package DnsCore -Version 0.3.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DnsCore" Version="0.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DnsCore" Version="0.3.2" />
<PackageReference Include="DnsCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DnsCore --version 0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DnsCore, 0.3.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DnsCore@0.3.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DnsCore&version=0.3.2
#tool nuget:?package=DnsCore&version=0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DNS Core
.NET lightweight DNS client and server
Features
- DNS Client — resolve DNS queries with automatic UDP→TCP fallback, retry with exponential backoff, and configurable timeouts
- DNS Server — handle incoming DNS requests via
IDnsServerHandlerinterface or a simple delegate - UDP & TCP — full support for both transport protocols
- Hosting integration —
AddDns()extensions forMicrosoft.Extensions.Hosting - Typed records — A, AAAA, NS, MD, MF, CNAME, SOA, MB, MG, MR, PTR, MINFO, MX, TXT, and SRV
- Targets — net8.0, net9.0, net10.0
- Platforms — Linux x64, Linux arm64, Windows x64, Windows arm64, macOS arm64
Unknown record types are exposed as DnsRawRecord so their RDATA remains byte-transparent. Record types that can legally or historically contain message-relative DNS compression pointers require type-specific encoding; unsupported types in that category are rejected instead of being exposed as unsafe raw data. This currently includes the legacy RP, AFSDB, RT, SIG, KEY, PX, NXT, NAPTR, and DNAME formats.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Primitives (>= 10.0.11)
- RentedListCore (>= 0.1.6)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Primitives (>= 10.0.11)
- RentedListCore (>= 0.1.6)
-
net9.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Primitives (>= 10.0.11)
- RentedListCore (>= 0.1.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.12 | 93 | 9/9/2026 |
| 0.3.11 | 97 | 9/8/2026 |
| 0.3.10 | 98 | 9/8/2026 |
| 0.3.9 | 89 | 9/7/2026 |
| 0.3.8 | 102 | 9/7/2026 |
| 0.3.7 | 107 | 9/6/2026 |
| 0.3.6 | 110 | 9/5/2026 |
| 0.3.5 | 103 | 9/5/2026 |
| 0.3.4 | 105 | 9/4/2026 |
| 0.3.3 | 99 | 9/3/2026 |
| 0.3.2 | 103 | 8/31/2026 |
| 0.3.1 | 100 | 8/31/2026 |
| 0.3.0 | 104 | 8/31/2026 |
| 0.2.10 | 98 | 8/28/2026 |
| 0.2.9 | 154 | 7/8/2026 |
| 0.2.8 | 199 | 2/24/2026 |
| 0.2.7 | 159 | 2/24/2026 |
| 0.2.6 | 154 | 2/24/2026 |
| 0.2.5 | 157 | 2/24/2026 |
| 0.2.4 | 157 | 2/24/2026 |
Loading failed