From 140e525195b85f911ae0361d3693bc46c68dc94d Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sat, 28 Sep 2013 22:05:48 +0100 Subject: [PATCH] More documentation --- dns.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dns.go b/dns.go index cc442f17..4e606d79 100644 --- a/dns.go +++ b/dns.go @@ -66,6 +66,11 @@ // // c.SingleInflight = true // +// If these "advanced" features are not needed, a simple UDP query can be send, +// with: +// +// in, err := dns.Exchange(m1, "127.0.0.1:53") +// // A dns message consists out of four sections. // The question section: in.Question, the answer section: in.Answer, // the authority section: in.Ns and the additional section: in.Extra.