Share via


DNSSettings Class

Definition

The DNS(Domain Name Server) settings of a device.

public class DNSSettings
type DNSSettings = class
Public Class DNSSettings
Inheritance
DNSSettings

Constructors

DNSSettings()

Initializes a new instance of the DNSSettings class.

DNSSettings(String, String, IList<String>, IList<String>)

Initializes a new instance of the DNSSettings class.

Properties

PrimaryDnsServer

Gets or sets the primary IPv4 DNS server for the device

PrimaryIpv6DnsServer

Gets or sets the primary IPv6 DNS server for the device

SecondaryDnsServers

Gets or sets the secondary IPv4 DNS server for the device

SecondaryIpv6DnsServers

Gets or sets the secondary IPv6 DNS server for the device

Applies to