query Method
Query a Domain.
Syntax
def query(domain: str) -> None: ...
Remarks
This method will query the host Domain for any records of the type in query_type. After the query, request_id is the identifier corresponding to the request. Once the query is complete, a single on_response event will fire, and the following properties will contain the results:
status_code | The success or error code of the DNS query. |
status | A standard string interpretation of status_code. |
records | The records in the last DNS response. |
record_source | The source (type) of records being listed. |