request_id Property

The ID of the current DNS request.

Syntax

def get_request_id() -> int: ...
def set_request_id(value: int) -> None: ...

request_id = property(get_request_id, set_request_id)

Default Value

1

Remarks

This property is the identifier of the request that generated the current response values. Each time the class makes a DNS query, it generates a unique request identifier to track the response.

If a custom value is needed for request_id, the property must be set before sending a request. The class increments request_id automatically after sending each request.

NOTE: The class fails with an error when a value that is not between 1 and 32,767 is specified.

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