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

DnsClientX Overview

How DnsClientX fits DNS lookup and resolver testing workflows.

DnsClientX is useful when you need DNS lookups that are explicit about provider, transport, caching, and result shape.

Common fit

  • compare results from different public DNS providers
  • test DNS over HTTPS, TLS, HTTP/3, or QUIC support
  • return typed DNS records in .NET code
  • run multi-record lookups from PowerShell without shelling out to platform-specific tools

Good operating pattern

Start with example.com or another safe public test domain. Move to internal zones only after you know which resolver and transport settings you want to validate.