Contents

dnsProtocol

The DNS protocol used by the server, such as HTTPS or TLS.

Declaration

var dnsProtocol: NEDNSProtocol { get }

Discussion

By default, an NEDNSSettings object will use NEDNSProtocol.cleartext. In order to use encryption, create an NEDNSOverHTTPSSettings or NEDNSOverTLSSettings object.

See Also

Accessing DNS properties