Struct Message

struct Message ;

Fields

NameTypeDescription
additionals ResourceRecord[]RRs holding additional information
answers ResourceRecord[]RRs answering the question
authorities ResourceRecord[]RRs pointing toward an authority
header HeaderAlways present
questions Question[]The question for the name server

Methods

NameDescription
fill (query) Fill this Message's header, ensuring consistency with a query
fromBinary (data, opts) Support for network serialization
maxSerializedSize () Gives the estimated serialized size
serialize (dg) Support for network serialization

https

//datatracker.ietf.org/doc/html/rfc1035#section-4