Query Method
Query a Domain.
Syntax
public void query(String domain);
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:
StatusCode | The success or error code of the DNS query. |
Status | A standard string interpretation of StatusCode. |
Records | The Records in the last DNS response. |
RecordSource | The source (type) of records being listed. |