Freigeben über


DnsClientNrptRule class

Contains a table entry for a DNS client name resolution policy.

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("RAMgmtPSProvider"), AMENDMENT]
class DnsClientNrptRule
{
  uint32  Version;
  string  Namespace[];
  string  Name;
  string  DisplayName;
  boolean DnsSecEnabled;
  boolean DnsSecValidationRequired;
  boolean DnsSecQueryIPsecRequired;
  string  DnsSecQueryIPsecEncryption;
  boolean DirectAccessEnabled;
  string  IPsecCARestriction;
  string  DirectAccessDnsServers[];
  boolean DirectAccessQueryIPsecRequired;
  string  DirectAccessQueryIPsecEncryption;
  string  DirectAccessProxyType;
  string  DirectAccessProxyName;
  string  NameServers[];
  string  NameEncoding;
  string  Comment;
};

Members

The DnsClientNrptRule class has these types of members:

Properties

The DnsClientNrptRule class has these properties.

Comment

Data type: string

Access type: Read/write

A user friendly description of the current rule.

DirectAccessDnsServers

Data type: string array

Access type: Read/write

The DNS servers which will be queried when DA is enabled.

DirectAccessEnabled

Data type: boolean

Access type: Read-only

Property which identifies if DirectAccess is enabled on the rule.

DirectAccessProxyName

Data type: string

Access type: Read/write

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

DirectAccessProxyType

Data type: string

Access type: Read/write

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

NoProxy ("NoProxy")

UseDefault ("UseDefault")

UseProxyName ("UseProxyName")

DirectAccessQueryIPsecEncryption

Data type: string

Access type: Read/write

Controls the IPsec tunnel encryption settings.

None ("None")

Low ("Low")

Medium ("Medium")

High ("High")

DirectAccessQueryIPsecRequired

Data type: boolean

Access type: Read/write

true to tunnel DNS queries over the IPsec channel.

DisplayName

Data type: string

Access type: Read/write

An optional friendly name for the NRPT rule.

DnsSecEnabled

Data type: boolean

Access type: Read-only

Determines if DNSSEC is enabled on the rule.

DnsSecQueryIPsecEncryption

Data type: string

Access type: Read/write

Controls the IPsec tunnel encryption settings.

None ("None")

Low ("Low")

Medium ("Medium")

High ("High")

DnsSecQueryIPsecRequired

Data type: boolean

Access type: Read/write

true to tunnel DNSSEC queries over the IPsec channel.

DnsSecValidationRequired

Data type: boolean

Access type: Read/write

Enables the AD bit check on DNS responses.

IPsecCARestriction

Data type: string

Access type: Read/write

The certification authority to validate the IPsec channel.

Name

Data type: string

Access type: Read/write

The name which uniquely identifies a rule.

NameEncoding

Data type: string

Access type: Read/write

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/write

The DNS servers the DNS query is sent to when DA is disabled.

Namespace

Data type: string array

Access type: Read/write

The DNS namespace, which can be a Suffix/Prefix/FQDN/Subnet/Any. In order to specify Any, the value must be .(dot)

Version

Data type: uint32

Access type: Read-only

The version of the Name Resolution Policy Table entry.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll