Tweaks and add String skeleton func
This commit is contained in:
parent
53155e5f1a
commit
9cf8bee422
6
zone.go
6
zone.go
|
@ -95,6 +95,10 @@ func toRadixName(d string) string {
|
||||||
return "." + s
|
return "." + s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (z *Zone) String() string {
|
||||||
|
return z.Radix.String()
|
||||||
|
}
|
||||||
|
|
||||||
// Insert inserts an RR into the zone. There is no check for duplicate data, although
|
// Insert inserts an RR into the zone. There is no check for duplicate data, although
|
||||||
// Remove will remove all duplicates.
|
// Remove will remove all duplicates.
|
||||||
func (z *Zone) Insert(r RR) error {
|
func (z *Zone) Insert(r RR) error {
|
||||||
|
@ -233,7 +237,7 @@ func signZoneData(zd *ZoneData, privkeys []PrivateKey, signername string, config
|
||||||
if zd.NonAuth == true {
|
if zd.NonAuth == true {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
s := new(RR_RRSIG)
|
//s := new(RR_RRSIG)
|
||||||
// signername
|
// signername
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue