Set method of the PS_DnsClientNrptRule class
Modifies DNS client NRPT rule.
Syntax
uint32 Set(
[in] boolean DAEnable,
[in] string DAIPsecEncryptionType,
[in] boolean DAIPsecRequired,
[in] string DANameServers[],
[in] string DAProxyServerName,
[in] string DAProxyType,
[in] string Comment,
[in] boolean DnsSecEnable,
[in] string DnsSecIPsecEncryptionType,
[in] boolean DnsSecIPsecRequired,
[in] boolean DnsSecValidationRequired,
[in] string GpoName,
[in] string IPsecTrustAuthority,
[in] string Name,
[in] string NameEncoding,
[in] string NameServers[],
[in] string Namespace[],
[in] string Server,
[in] string DisplayName,
[in] boolean PassThru,
[out] DnsClientNrptRule cmdletOutput
);
Parameters
-
DAEnable [in]
-
Property for controlling DirectAccess rules state.
-
DAIPsecEncryptionType [in]
-
Property for controlling IPsec encryption type for DA.
-
None ("None")
-
Low ("Low")
-
Medium ("Medium")
-
High ("High")
DAIPsecRequired [in]
Property to control IPsec tunnel encryption settings.
DANameServers [in]
The DNS servers which will be queried when Direct Access is enabled.
DAProxyServerName [in]
The proxy server to be used when connecting to the Internet.
DAProxyType [in]
The proxy server type to be used when connecting to Internet.
NoProxy ("NoProxy")
UseDefault ("UseDefault")
UseProxyName ("UseProxyName")
Comment [in]
Property to store admin comments.
DnsSecEnable [in]
Property which identifies if DNSSEC is enabled on the rule.
DnsSecIPsecEncryptionType [in]
Property to control Ipsec tunnel encryption settings.
None ("None")
Low ("Low")
Medium ("Medium")
High ("High")
DnsSecIPsecRequired [in]
Property to tunnel DNSSEC queries over IPsec channel.
DnsSecValidationRequired [in]
Property for controlling whether Dnssec validation is required or not.
GpoName [in]
Name of GPO, if not specified the default GPO on the domain.
IPsecTrustAuthority [in]
Certification authority to validate the Ipsec channel for DirectAccess
Name [in]
Name which uniquely identifies a rule.
NameEncoding [in]
Encoding format for host names in the DNS query.
NameServers [in]
The DNS servers the DNS query is sent to when DA is disabled.
Namespace [in]
DNS namespace which can be a suffix/prefix/FQDN/subnet/any. In order to specify any, the value must be .(dot)
Server [in]
Server hosting the GPO.
DisplayName [in]
An optional friendly name for the Name Resolution Policy Table rule.
PassThru [in]
Specifies if result of the cmdlet should be displayed.
cmdletOutput [out]
A DnsClientNrptRule object containing all the properties of DNS client NRPT rule.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|