Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 803 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 803 Bytes

DnsClient GitHub release NuGet License

A DNS Client library for C#.

DNS Client class provided by this library is thread-safe.

Supported DNS records types

  • A
  • AAAA
  • CNAME
  • MX
  • SRV
  • TXT
  • NS
  • PTR
  • SOA
  • DS
  • DNSKEY
  • CAA
  • URI

Basic usage

using DnsClient.DnsClient dns = new("1.1.1.1", options: new DnsClientOptions
{
  ErrorLogging = new StdoutLogger()
});

DnsResponse response = await dns.Query("google.com", QType.AAAA);