small tweaks
This commit is contained in:
parent
44fec2a605
commit
8637ca2219
7
TODO
7
TODO
|
@ -1,9 +1,9 @@
|
|||
Guidelines for the API:
|
||||
|
||||
o symmetrical, client side stuff should be mirrored in the server stuff
|
||||
Guidelines for the API:
|
||||
o symmetrical, client side should be mirrored in the server
|
||||
o clean, small API
|
||||
o fast data structures (rb-tree, when they come available)
|
||||
o api-use should lead to self documenting code
|
||||
o api-use should be self documenting
|
||||
|
||||
o make questions fqdns -- add last dot
|
||||
o zone structure -- only as rb-tree
|
||||
|
@ -24,7 +24,6 @@ Issues:
|
|||
* Check the network order, it works now, but this is on Intel??
|
||||
* Make the testsuite work with public DNS servers
|
||||
* pack/Unpack smaller. EDNS 'n stuff can be folded in
|
||||
* SetDefaults() for *all* types?
|
||||
|
||||
Examples:
|
||||
* Test impl of nameserver, with a small zone, 1 KSK and online signing
|
||||
|
|
15
xfr.go
15
xfr.go
|
@ -4,17 +4,16 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
// Outgoing AXFR and IXFR implementations
|
||||
// error handling??
|
||||
|
||||
// Xfr is used in communicating with *xfr functions.
|
||||
// If Add is true the resource record in RR must be added to
|
||||
// the zone. If Add is false the resource record must be removed.
|
||||
// If err in non nil some error occurred and the transfer must
|
||||
// be considered to have failed.
|
||||
// Xfr is used in communicating with Xfr* functions.
|
||||
type Xfr struct {
|
||||
// If Add is true the resource record in RR must be added to
|
||||
// the zone. If Add is false the resource record must be removed.
|
||||
// be considered to have failed.
|
||||
Add bool
|
||||
// The RR that should be added or removed.
|
||||
RR
|
||||
// If err in non nil some error occurred and the transfer must
|
||||
// be considered to have faild.
|
||||
Err os.Error
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue