documentation
This commit is contained in:
parent
96d79c6816
commit
d7400fd503
6
dns.go
6
dns.go
|
@ -41,10 +41,10 @@
|
|||
// m1.Question[0] = Question{"miek.nl.", TypeMX, ClassINET}
|
||||
//
|
||||
// After creating a message it can be send.
|
||||
// Basic use pattern for synchronous querying the DNS. We are
|
||||
// sending the message 'm' to the server 127.0.0.1 on port 53 and
|
||||
// waiting for the reply.
|
||||
// Basic use pattern for synchronous querying the DNS:
|
||||
//
|
||||
// // 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")
|
||||
|
|
Loading…
Reference in New Issue