A description of a single DNS resolution step.



Measuring Performance

let duration: TimeInterval

The duration of this resolution step, from when the query was issued to when the response was complete.

enum NWConnection.EstablishmentReport.Resolution.Source

Sources that may provide DNS responses.

Examining Resolved Endpoints

let successfulEndpoint: NWEndpoint

The resolved endpoint that led to the established connection.

let preferredEndpoint: NWEndpoint

The resolved endpoint that the connection used for its first connection attempt.

let endpointCount: Int

The number of endpoints resolved in this step.

See Also

Inspecting Resolution

let resolutions: [NWConnection.EstablishmentReport.Resolution]

The array of resolution steps performed during connection establishment, in order from first resolved to last resolved.