This commit is contained in:
Miek Gieben 2012-08-25 11:32:11 +02:00
parent 68961f2f5b
commit 2a391d079b
1 changed files with 2 additions and 3 deletions

5
msg.go
View File

@ -79,9 +79,8 @@ type MsgHdr struct {
// The layout of a DNS message. // The layout of a DNS message.
type Msg struct { type Msg struct {
MsgHdr MsgHdr
Compress bool // If true, the message will be compressed when converted to wire format. Compress bool // If true, the message will be compressed when converted to wire format.
Size int // Number of octects in the message received from the wire. Size int // Number of octects in the message received from the wire.
// Remote addr? back
Question []Question // Holds the RR(s) of the question section. Question []Question // Holds the RR(s) of the question section.
Answer []RR // Holds the RR(s) of the answer section. Answer []RR // Holds the RR(s) of the answer section.
Ns []RR // Holds the RR(s) of the authority section. Ns []RR // Holds the RR(s) of the authority section.