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_codeThe success or error code of the DNS query.
statusA standard string interpretation of status_code.
recordsThe records in the last DNS response.
record_sourceThe source (type) of records being listed.

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