1234567module juptune.dns.encoding;
alias DnsPutQuestionFunc = Result function(
const char[] domainName,
DnsRecordType recordType,
DnsRecordClass recordClass
);
Encoders
Provided by dnsEncodeQueryto the caller's putQuestionsfunction. Allows the caller to add an entry into the questions section of a DNS query.
DnsEncodingError.bufferTooSmallif the write buffer is too small to fit the encoded question.
Anything dnsSplitDomainNamecan throw.
A Result