The connection object representing the client connection
Any extra data that can be attached to the request. Handlers should use this object to attach any extra metadata if desired
The metadata object for the response
Readonly
packetReturn an object representing the data contained in the request.
The data object containing the packet, connection, and metadata.
Optional
extra?: objectReturn a new DNSResponse object that contains a DNS packet response equivalent to the request.
A DNSResponse object that can be used to send a response to the client.
Default class representing a DNS Request.
DNS Requests contain the serialized packet data, and data about the connection.