dns_response

Represents a DNS response.

Target type

Signature

1dns_response(message::bytes)

Represents a DNS response.

dns_response constructs or identifies a LaiRu value type. dns_response performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.

Parameters

message
Required value of type bytes. Supply message positionally unless the signature shows a keyword form.

Examples

Basic call

1dns_response(bytes)->answer
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.