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,