status_code Property
The success or error code for the DNS query.
Syntax
def get_status_code() -> int: ...
status_code = property(get_status_code, None)
Default Value
0
Remarks
This property contains the success or error code for the DNS query. For a list of valid error codes and their descriptions, please refer to the Error Codes section.
This property is read-only.