Share via


DnsClientPolicyConfiguration class

DNS Client Policy Configuration.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsClientPSProvider"), AMENDMENT]
class DnsClientPolicyConfiguration
{
  string  Namespace;
  boolean DirectAccessEnabled;
  string  QueryPolicy;
  string  SecureNameQueryFallback;
  string  DnsSecIPsecCARestriction;
  boolean DnsSecValidationRequired;
  boolean DnsSecQueryIPsecRequired;
  string  DnsSecQueryIPsecEncryption;
  string  DirectAccessIPsecCARestriction;
  boolean DirectAccessQueryIPsecRequired;
  string  DirectAccessQueryIPsecEncryption;
  string  DirectAccessDnsServers[];
  string  DirectAccessProxyType;
  string  DirectAccessProxyName;
  string  NameServers[];
  string  NameEncoding;
};

Members

The DnsClientPolicyConfiguration class has these types of members:

Properties

The DnsClientPolicyConfiguration class has these properties.

DirectAccessDnsServers

Data type: string array

Access type: Read-only

The DNS Servers which will be queried when DirectAccess is enabled.

DirectAccessEnabled

Data type: boolean

Access type: Read-only

Property which identifies if DirectAccess is enabled.

DirectAccessIPsecCARestriction

Data type: string

Access type: Read-only

Certificate authority to validate the IPsec channel for DirectAccess.

DirectAccessProxyName

Data type: string

Access type: Read/write

The proxy server to be used when connecting to Internet.

DirectAccessProxyType

Data type: string

Access type: Read-only

The proxy server type to be used when connecting to Internet.

Direct ("Direct")

UseDefault ("UseDefault")

UseProxyName ("UseProxyName")

NoProxy ("NoProxy")

DirectAccessQueryIPsecEncryption

Data type: string

Access type: Read-only

IPsec encryption level for DirectAccess.

None ("None")

Low ("Low")

Medium ("Medium")

High ("High")

DirectAccessQueryIPsecRequired

Data type: boolean

Access type: Read-only

Whether IPsec is required for DirectAccess.

DnsSecIPsecCARestriction

Data type: string

Access type: Read-only

Certificate authority to validate the IPsec channel for DnsSec.

DnsSecQueryIPsecEncryption

Data type: string

Access type: Read-only

IPsec encryption level for DnsSec

None ("None")

Low ("Low")

Medium ("Medium")

High ("High")

DnsSecQueryIPsecRequired

Data type: boolean

Access type: Read-only

Whether IPsec is required for DnsSec queries.

DnsSecValidationRequired

Data type: boolean

Access type: Read-only

Whether dnssec validation is required or not.

NameEncoding

Data type: string

Access type: Read-only

Encoding format for host names in the DNS query.

Disable ("Disable")

Utf8WithMapping ("Utf8WithMapping")

Utf8WithoutMapping ("Utf8WithoutMapping")

Punycode ("Punycode")

NameServers

Data type: string array

Access type: Read-only

Generic Dns Servers

Namespace

Data type: string

Access type: Read-only

DNS namespace which can be a suffix/prefix/FQDN/Subnet.

QueryPolicy

Data type: string

Access type: Read-only

Property for controlling DNS Client query policy.

Disable ("Disable")

QueryIPv6Only ("QueryIPv6Only")

QueryBoth ("QueryBoth")

SecureNameQueryFallback

Data type: string

Access type: Read-only

Property for controlling DNS Client Name resolution fallback policy.

Disable ("Disable")

FallbackSecure ("FallbackSecure")

FallbackUnsecure ("FallbackUnsecure")

FallbackPrivate ("FallbackPrivate")

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsClientPSProvider.mof
DLL
DnsClientPSProvider.dll