Struct Message
struct Message
;
Fields
Name | Type | Description |
---|---|---|
additionals
|
ResourceRecord[] | RRs holding additional information |
answers
|
ResourceRecord[] | RRs answering the question |
authorities
|
ResourceRecord[] | RRs pointing toward an authority |
header
|
Header | Always present |
questions
|
Question[] | The question for the name server |
Methods
Name | Description |
---|---|
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