PS_VpnConnectionTriggerDnsConfiguration class

The PS_VpnConnectionTriggerDnsConfiguration class provides methods to manage the DNS trigger configuration of the VPN profile.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class PS_VpnConnectionTriggerDnsConfiguration
{
  string DnsSuffix;
  string DnsIPAddress[];
};

Members

The PS_VpnConnectionTriggerDnsConfiguration class has these types of members:

Methods

The PS_VpnConnectionTriggerDnsConfiguration class has these methods.

Method Description
Add Adds a DNS suffix and the corresponding DNS servers to the configuration.
Remove Removes DNS suffixes and the corresponding DNS servers from the configuration.
Set Sets the DNS servers for a DNS suffix in the configuration.

Properties

The PS_VpnConnectionTriggerDnsConfiguration class has these properties.

DnsIPAddress

Data type: string array

Access type: Read/write

The IPv4/IPv6 addresses of the DNS servers that should be used for the DNS suffix.

DnsSuffix

Data type: string

Access type: Read/write

Qualifiers: key

The DNS suffix for auto triggering a VPN connection.

Remarks

The DNS configuration contains a list of DNS suffixes and, for each suffix, a list of DNS servers. Whenever a client tries to access a resource that matches the DNS suffix, a VPN connection is auto-triggered.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll