diff --git a/dns.go b/dns.go index 037f1b45..331b45fe 100644 --- a/dns.go +++ b/dns.go @@ -51,13 +51,11 @@ // m1.Question[0] = Question{"miek.nl.", TypeMX, ClassINET} // // After creating a message it can be send. -// Basic use pattern for synchronous querying the DNS: +// Basic use pattern for synchronous querying the DNS at a +// server configured on 127.0.0.1 and port 53: // -// // We are sending the message 'm' to the server 127.0.0.1 -// // on port 53 and wait for the reply. // c := NewClient() -// // c.Net = "tcp" // If you want to use TCP -// in := c.Exchange(m, "127.0.0.1:53") +// in := c.Exchange(m1, "127.0.0.1:53") // // An asynchronous query is also possible, setting up is more elaborate then // a synchronous query. The Basic use pattern is: