DnsServerLegacySettings manages legacy DNS server settings and properties.
Use this resource when you need to configure traditional DNS server properties such as logging level, disjoint namespace support, or other server-wide settings. For the comprehensive DNS server settings resource with full parameter support, consider using DnsServerSettings instead.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
DnsServer |
Key |
String |
Specifies the DNS server to connect to, or use |
Default: |
DisjointNets |
Boolean |
Indicates whether the default port binding for a socket used to send queries to remote DNS Servers can be overridden. |
|
|
NoForwarderRecursion |
Boolean |
|
|
|
LogLevel |
UInt32 |
Indicates which policies are activated in the Event Viewer system log. |
DnsServerLegacySettings:
DnsServer: localhost
DisjointNets: true
NoForwarderRecursion: false
LogLevel: 50393905