docs
This commit is contained in:
parent
c833247546
commit
80038f2230
2
dns.go
2
dns.go
|
@ -120,7 +120,7 @@ type RR interface {
|
|||
}
|
||||
|
||||
// DNS resource records.
|
||||
// There are many types of messages,
|
||||
// There are many types of RRs,
|
||||
// but they all share the same header.
|
||||
type RR_Header struct {
|
||||
Name string `dns:"cdomain-name"`
|
||||
|
|
4
types.go
4
types.go
|
@ -1149,7 +1149,7 @@ type RR_NSEC3PARAM struct {
|
|||
Flags uint8
|
||||
Iterations uint16
|
||||
SaltLength uint8
|
||||
Salt string `dns:"hex"` // hexsize??
|
||||
Salt string `dns:"hex"`
|
||||
}
|
||||
|
||||
func (rr *RR_NSEC3PARAM) Header() *RR_Header {
|
||||
|
@ -1204,7 +1204,7 @@ func (rr *RR_TKEY) Copy() RR {
|
|||
return &RR_TKEY{*rr.Hdr.CopyHeader(), rr.Algorithm, rr.Inception, rr.Expiration, rr.Mode, rr.Error, rr.KeySize, rr.Key, rr.OtherLen, rr.OtherData}
|
||||
}
|
||||
|
||||
// Unknown RR representation
|
||||
// RR_RFC3597 representes an unknown RR.
|
||||
type RR_RFC3597 struct {
|
||||
Hdr RR_Header
|
||||
Rdata string `dns:"hex"`
|
||||
|
|
Loading…
Reference in New Issue