ldns_struct_pkt Struct Reference
DNS packet.
More...
Detailed Description
DNS packet.
This structure contains a complete DNS packet (either a query or an answer)
It is the complete representation of what you actually send to a nameserver, and what it sends back (assuming you are the client here).
Definition at line 229 of file packet.h.
Field Documentation
Header section.
Definition at line 232 of file packet.h.
The size of the wire format of the packet in octets.
Definition at line 235 of file packet.h.
Timestamp of the time the packet was sent or created.
Definition at line 237 of file packet.h.
The duration of the query this packet is an answer to.
Definition at line 239 of file packet.h.
The size of the wire format of the packet in octets.
Definition at line 241 of file packet.h.
Optional tsig rr.
Definition at line 243 of file packet.h.
EDNS0 available buffer size, see RFC2671.
Definition at line 245 of file packet.h.
EDNS0 Extended rcode.
Definition at line 247 of file packet.h.
Reserved EDNS data bits.
Definition at line 251 of file packet.h.
Arbitrary EDNS rdata.
Definition at line 253 of file packet.h.
Question section.
Definition at line 255 of file packet.h.
Answer section.
Definition at line 257 of file packet.h.
Authority section.
Definition at line 259 of file packet.h.
Additional section.
Definition at line 261 of file packet.h.