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
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-only
A user friendly description of the current rule.
- DirectAccessDnsServers
-
- Data type: string array
- Access type: Read-only
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-only
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.
- NoProxy (NoProxy)
- UseDefault (UseDefault)
- UseProxyName (UseProxyName)
- DirectAccessQueryIPsecEncryption
-
- Data type: string
- Access type: Read-only
Property to control IPsec tunnel encryption settings.
- None (None)
- Low (Low)
- Medium (Medium)
- High (High )
- DirectAccessQueryIPsecRequired
-
- Data type: boolean
- Access type: Read-only
Property to tunnel DNS queries over IPsec channel.
- DisplayName
-
- Data type: string
- Access type: Read-only
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-only
Property to control IPsec tunnel encryption settings.
- None (None)
- Low (Low)
- Medium (Medium)
- High (High )
- DnsSecQueryIPsecRequired
-
- Data type: boolean
- Access type: Read-only
Property to tunnel DnsSec queries over IPsec channel.
- DnsSecValidationRequired
-
- Data type: boolean
- Access type: Read-only
Property to enable AD bit check on DNS responses.
- IPsecCARestriction
-
- Data type: string
- Access type: Read-only
Certificate authority to validate the IPsec channel.
- Name
-
- Data type: string
- Access type: Read-only
Name which uniquely identifies a rule.
- 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
The DNS Servers the DNS query is sent to when DA is disabled.
- Namespace
-
- Data type: string array
- Access type: Read-only
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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Namespace |
\root\Microsoft\Windows\Dns |
|
MOF |
|
Build date: 12/6/2012