You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: DnsOverHttps/NuGet.md
+18-18
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,11 @@
5
5
### An async and lightweight C# library for Cloudflare's DNS over HTTPS.
6
6
7
7
## Usage
8
-
Provides an easy interface for interacting with Cloudflare's DNS over HTTPS endpoints. Learn more about it [here](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/).
8
+
This library provides an easy interface for interacting with Cloudflare's DNS over HTTPS endpoints.
9
9
10
-
To get started, add the library into your solution with either the `NuGet Package Manager` or the `dotnet` CLI.
10
+
DoH is a protocol that enhances the privacy and security of DNS queries by encrypting them using HTTPS. This helps prevent unauthorized access or tampering of DNS data during transmission. Learn more about it [here](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/).
11
+
12
+
To get started, import the library into your solution with either the `NuGet Package Manager` or the `dotnet` CLI.
11
13
```rust
12
14
dotnetaddpackageDnsOverHttps
13
15
```
@@ -19,15 +21,19 @@ using DnsOverHttps;
19
21
20
22
Need more examples? Under the `Example` directory you can find a working demo project that implements this library.
21
23
22
-
## Features
23
-
- Built for **.NET 6**and **.NET 7**
24
+
## Properties
25
+
- Built for **.NET 8**, **.NET 7**and **.NET 6**
24
26
- Fully **async**
25
-
- Deep coverage of the API
26
27
- Extensive **XML documentation**
27
-
-**No external dependencies** (uses integrated HTTP and JSON)
28
-
-**Custom exceptions** (`DnsOverHttpsException`) for advanced catching
28
+
-**No external dependencies** (makes use of built-in `HttpClient`and `JsonSerializer`)
29
+
-**Custom exceptions** (`DnsOverHttpsException`) for easy debugging
29
30
- Example project to demonstrate all capabilities of the library
30
-
- Execute DNS queries over HTTPS of any type
31
+
32
+
## Features
33
+
- Resolve one or all DNS records under a hostname
34
+
- Ask for DNSSEC validation
35
+
- Query in parallel
36
+
- Specify advanced parameters
31
37
32
38
## Code Samples
33
39
@@ -38,26 +44,20 @@ DnsOverHttpsClient dns = new();
0 commit comments