From 0adc9a3afeb45196ba05406883b187798c27151c Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 6 Sep 2013 09:45:30 +0000 Subject: [PATCH] Update doc and TODO --- TODO.markdown | 4 ---- dns.go | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/TODO.markdown b/TODO.markdown index b479118a..16582cdd 100644 --- a/TODO.markdown +++ b/TODO.markdown @@ -1,10 +1,6 @@ # TODO * Support for on-the-fly-signing or check how to do it -* Test all rdata packing with zero rdata -- allowed for dynamic updates -* Actually mimic net/ ? Dial. Read/Write ? - - if I want this i need to work on something else than \*Client, because a single client - can have multiple oustanding qeuries * Ratelimiting? server side (rrl) * Ratelimiting? client side diff --git a/dns.go b/dns.go index ed7b87cf..003908c4 100644 --- a/dns.go +++ b/dns.go @@ -61,7 +61,10 @@ // c := new(Client) // in, rtt, err := c.Exchange(m1, "127.0.0.1:53") // -// For asynchronous queries it is easy to wrap Exchange() in a goroutine. +// For asynchronous queries it is easy to wrap Exchange() in a goroutine. Suppressing +// multiple outstanding queries (with the same question, type and class) is as easy as setting: +// +// c.Inflight = true // // A dns message consists out of four sections. // The question section: in.Question, the answer section: in.Answer,