Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 2.81 KB

DnsServerQueryResolutionPolicies.adoc

File metadata and controls

107 lines (81 loc) · 2.81 KB

DSC Resource 'DnsServerQueryResolutionPolicies'

DnsServerQueryResolutionPolicies manages settings of policies for query resolution on a Domain Name System (DNS) server.

Source

DSC Resource

N/A

Documentation

Important

Currently only a basic set of DnsServerQueryResolutionPolicy parameters is supported.

Table 1. Attributes of category 'DnsServerQueryResolutionPolicies'
Parameter Attribute DataType Description Allowed Values

Policies

Mandatory

Hashtable[]

Settings of policies for query resolution on a Domain Name System (DNS) server.

Table 2. Attributes of category 'DnsServerQueryResolutionPolicies/Policies'
Parameter Attribute DataType Description Allowed Values

Name

Key

String

Specifies a name for the new policy.

Action

Mandatory

String

Specifies the action to take if a query matches this policy.

The acceptable values for this parameter are:

  • ALLOW

  • DENY → Respond with SERV_FAIL.

  • IGNORE → Do not respond.

  • ALLOW

  • DENY

  • IGNORE

Fqdn

Mandatory

String

Specifies the FQDN criterion. This is the FQDN of record in the query.

Specify a criterion in the following format:

operator, value01, value02,…​; operator, value03, value04,…​`

The operator is either EQ or NE. You can specify no more than one of each operator a criterion.

Example
DnsServerQueryResolutionPolicies:
  Policies:
    - Name:   WhitelistPolicy
      Action: IGNORE
      Fqdn:   NE,*.contoso.com
    - Name:   Block_Telemetry
      Action: IGNORE
      Fqdn:   EQ,telemetry.google.com