Skip to content

nserver.exceptions 🔗

InvalidMessageError 🔗

InvalidMessageError(
    error: Exception,
    raw_data: bytes,
    remote_address: Union[str, Tuple[str, int]],
)

Bases: ValueError

An invalid DNS message

Parameters:

Name Type Description Default
error Exception

The original Exception thrown

required
raw_data bytes

Raw DNS message as pulled from the transport

required
remote_address Union[str, Tuple[str, int]]

The remote end from the transport

required