doc updates
This commit is contained in:
parent
0130dde9f9
commit
a2ef425b84
1
TODO
1
TODO
|
@ -5,6 +5,7 @@ Short term:
|
||||||
* Server support
|
* Server support
|
||||||
* Signature generation
|
* Signature generation
|
||||||
* Testsuite
|
* Testsuite
|
||||||
|
* Cleanup the code
|
||||||
* use the responder idea from GRONG
|
* use the responder idea from GRONG
|
||||||
so we then have dns/resolver - asking
|
so we then have dns/resolver - asking
|
||||||
and dns/responder - answering
|
and dns/responder - answering
|
||||||
|
|
|
@ -58,7 +58,9 @@ type Resolver struct {
|
||||||
Mangle func([]byte) []byte // mangle the packet
|
Mangle func([]byte) []byte // mangle the packet
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start a new resolver as a goroutine, return the communication channel
|
// Start a new resolver as a goroutine, return the communication channel.
|
||||||
|
// Note the a limit amount of sanity checking is done. There is for instance
|
||||||
|
// no query id matching.
|
||||||
func (res *Resolver) NewQuerier() (ch chan DnsMsg) {
|
func (res *Resolver) NewQuerier() (ch chan DnsMsg) {
|
||||||
ch = make(chan DnsMsg)
|
ch = make(chan DnsMsg)
|
||||||
go query(res, ch)
|
go query(res, ch)
|
||||||
|
|
Loading…
Reference in New Issue