Instance Method

initWithServers:

Initialize the NEDNSSetting object.

Declaration

- (instancetype)initWithServers:(NSArray<NSString *> *)servers;

Parameters

servers

An array of DNS server IP address strings. These IP addresses can be a mixture of IPv4 and IPv6 addresses.

Return Value

The initialized NEDNSSettings object.