dnssecValidationRequired(_:)
Require DNSSEC validation when resolving an endpoint before making a connection.
Declaration
func dnssecValidationRequired(_ required: Bool) -> SelfParameters
- required:
True if DNSSEC validation is required, false otherwise.
Discussion
DNSSEC validation only takes effect if making a connection to an endpoint that requires domain name resolution, such as a host or URL endpoint.
If this is not set or is set to
false, DNSSEC validation will not be required.If this is set to
trueand no additional DNSSEC configuration is set, the default behavior will be followed: Only DNSSEC secure and DNSSEC insecure resolved results will be used to establish a connection.If this is set to
trueand additional DNSSEC configuration is set on the parameters, the behavior specified by that configuration will be used.