| Name | Type | Description | Notes |
|---|---|---|---|
| AccessSettings | DNSServerAccessSettings | ||
| AutoConnectDevicesEnabled | Boolean | Approval for auto-connecting devices through a specific link type | |
| BlockChromePrefetch | Boolean | Block prefetch proxy in Google chrome | |
| BlockFirefoxCanary | Boolean | If Firefox Canary should be blocked | |
| BlockPrivateRelay | Boolean | Is private relay should be blocked | |
| BlockTtlSeconds | Int32 | TTL for blocked request | |
| BlockingModeSettings | BlockingModeSettings | ||
| FilterListsSettings | FilterListsSettings | ||
| IpLogEnabled | Boolean | Consent to log IP addresses of requests | |
| ParentalControlSettings | ParentalControlSettings | ||
| ProtectionEnabled | Boolean | Is protection enabled | |
| SafebrowsingSettings | SafebrowsingSettings | ||
| UserRulesSettings | UserRulesSettings |
- Prepare the resource
$DNSServerSettings = Initialize-PSAdGuardDNSDNSServerSettings -AccessSettings null `
-AutoConnectDevicesEnabled null `
-BlockChromePrefetch null `
-BlockFirefoxCanary null `
-BlockPrivateRelay null `
-BlockTtlSeconds null `
-BlockingModeSettings null `
-FilterListsSettings null `
-IpLogEnabled null `
-ParentalControlSettings null `
-ProtectionEnabled null `
-SafebrowsingSettings null `
-UserRulesSettings null- Convert the resource to JSON
$DNSServerSettings | ConvertTo-JSON