Query Method

Query a Domain.

Syntax

public func query(domain: String) throws -> Void

Remarks

This method will query the host Domain for any records of the type in QueryType. After the query, RequestId is the identifier corresponding to the request. Once the query is complete, a single Response event will fire, and the following properties will contain the results:

StatusCodeThe success or error code of the DNS query.
StatusA standard string interpretation of StatusCode.
RecordsThe Records in the last DNS response.
RecordSourceThe source (type) of records being listed.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 macOS Edition - Version 20.0 [Build 8307]