doc updates

This commit is contained in:
Miek Gieben 2011-01-12 00:30:42 +01:00
parent 0130dde9f9
commit a2ef425b84
2 changed files with 4 additions and 1 deletions

1
TODO
View File

@ -5,6 +5,7 @@ Short term:
* Server support
* Signature generation
* Testsuite
* Cleanup the code
* use the responder idea from GRONG
so we then have dns/resolver - asking
and dns/responder - answering

View File

@ -58,7 +58,9 @@ type Resolver struct {
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) {
ch = make(chan DnsMsg)
go query(res, ch)