incorperate axfr in the resolver

This commit is contained in:
Miek Gieben 2010-12-31 14:27:20 +01:00
parent 0dcdbe4361
commit 3de30d5834
1 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,13 @@ func NewQuerier(res *Resolver) (ch chan DnsMsg) {
return
}
// Start a new xfr as a goroutine, return a channel.
// Channel will be closed when the axfr is finished, until
// that time new messages will appear on the channel
func NewXfer(res *Resolver) (ch chan DnsMsg) {
}
// The query function.
func query(res *Resolver, msg chan DnsMsg) {
// TODO port number, error checking, robustness