VpnDomainNameInfo.DnsServers Property

Definition

Gets a list of DNS servers to perform DNS resolution against when resolving a name in the namespace.

public:
 property IVector<HostName ^> ^ DnsServers { IVector<HostName ^> ^ get(); };
IVector<HostName> DnsServers();
public IList<HostName> DnsServers { get; }
var iVector = vpnDomainNameInfo.dnsServers;
Public ReadOnly Property DnsServers As IList(Of HostName)

Property Value

A list of DNS servers to perform DNS resolution against when resolving a name in the namespace. Windows has a limit of 50 DNS suffixes that can be set. Windows name resolution will apply each suffix in order. Long DNS suffix lists may impact performance.

Windows requirements

App capabilities
networkingVpnProvider

Applies to