This commit is contained in:
Miek Gieben 2012-08-08 11:13:28 +02:00
parent 8ff781934c
commit f05b532a3f
2 changed files with 7 additions and 7 deletions

12
msg.go
View File

@ -79,13 +79,13 @@ type MsgHdr struct {
// The layout of a DNS message.
type Msg struct {
MsgHdr
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.
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.
// Remote addr? back
Question []Question // Holds the RR(s) of the question section.
Answer []RR // Holds the RR(s) of the answer section.
Ns []RR // Holds the RR(s) of the authority section.
Extra []RR // Holds the RR(s) of the additional section.
Question []Question // Holds the RR(s) of the question section.
Answer []RR // Holds the RR(s) of the answer section.
Ns []RR // Holds the RR(s) of the authority section.
Extra []RR // Holds the RR(s) of the additional section.
}
// Map of strings for each RR wire type.

View File

@ -7,9 +7,9 @@
package dns
import (
"github.com/miekg/radix"
"io"
"net"
"github.com/miekg/radix"
"time"
)