This commit is contained in:
Miek Gieben 2012-07-14 22:01:52 +02:00
parent 24bc5b8041
commit a6611e8c33
1 changed files with 20 additions and 0 deletions

20
zone.go Normal file
View File

@ -0,0 +1,20 @@
package dns
// A structure for handling zone data
import (
"github.com/petar/GoLLRB/llrb"
)
type Zone struct {
Name string // Name of the zone
*llrb.Tree // Zone data
}
type ZoneData struct {
Name string // Domain name for this node
RR map[uint16][]RR // Map ...
Signatures map[uint16][]*RR_RRSIG // DNSSEC signatures
Glue bool // True if the A and AAAA record are glue
// nsec3, next
}