Project

DnsClientX

DnsClientX is an async C# library for DNS over UDP, TCP, HTTPS (DoH), and TLS (DoT). It also has a PowerShell module that can be used to query DNS records. It provides a simple way to query DNS records using multiple DNS providers. It supports multiple DNS record types and parallel queries.

Stars22
Forks3
Open issues1
PowerShell Gallery downloads48624
Releasev1.0.7
Language: C# Updated: 2026-04-09T13:58:43.0000000+00:00

Documentation

Install DnsClientX

Install DnsClientX for PowerShell or .NET.

Install the PowerShell module:

Install-Module -Name DnsClientX -Scope CurrentUser
Import-Module DnsClientX

Use the .NET library from NuGet:

dotnet add package DnsClientX

The PowerShell module is the quickest way to test resolver behavior interactively. The .NET package is the better fit when DNS queries are part of an application or service.