DnsClientNrptRule class
DNS Client Name Resolution Policy Table entry.
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 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 Internet.
-
-
DirectAccessProxyType
-
-
Data type: string
-
Access type: Read/write
The proxy server type to be used when connecting to Internet.
-
-
NoProxy ("NoProxy")
-
UseDefault ("UseDefault")
-
UseProxyName ("UseProxyName")
DirectAccessQueryIPsecEncryption
-
Data type: string
-
Access type: Read/write
Property to control IPsec tunnel encryption settings.
None ("None")
Low ("Low")
Medium ("Medium")
High ("High")
DirectAccessQueryIPsecRequired
-
Data type: boolean
-
Access type: Read/write
Property to tunnel DNS queries over 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
Property which identifies if DnsSec is enabled on the rule.
DnsSecQueryIPsecEncryption
-
Data type: string
-
Access type: Read/write
Property to control IPsec tunnel encryption settings.
None ("None")
Low ("Low")
Medium ("Medium")
High ("High")
DnsSecQueryIPsecRequired
-
Data type: boolean
-
Access type: Read/write
Property to tunnel DnsSec queries over IPsec channel.
DnsSecValidationRequired
-
Data type: boolean
-
Access type: Read/write
Property to enable AD bit check on DNS responses.
IPsecCARestriction
-
Data type: string
-
Access type: Read/write
Certificate authority to validate the IPsec channel.
Name
-
Data type: string
-
Access type: Read/write
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
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 for NRPT entry.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|