Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Aliases dnsEncodeQuery

1
2
3
module juptune.dns.encoding;

alias dnsEncodeQuery = __MARMOS_BUG__;

Documentation

Encodes a DNS query into the on-the-wire format initially described in RFC1035.

Notes

This is a low-level function that generally doesn't need to be called by itself, please use the higher level stuff such as TODO.

If this function throws an error, the contents of writeris undefined.

Params

Throws

DnsEncodingError.bufferTooSmallif the write buffer is too small to fit the encoded record.

Anything that putQuestions(and DnsPutQuestionFuncby association) can throw.

Anything that putAdditionalRecords(and DnsStartNextRecordFuncby association) can throw.