diff --git a/client.go b/client.go index a01ea618..a669747d 100644 --- a/client.go +++ b/client.go @@ -200,7 +200,7 @@ func (c *Client) Do(m *Msg, a string) { } // ExchangeBuffer performs a synchronous query. It sends the buffer m to the -// address (net.Addr?) contained in a +// address contained in a. func (c *Client) ExchangeBuffer(inbuf []byte, a string, outbuf []byte) (n int, err error) { w := new(reply) w.client = c diff --git a/dns.go b/dns.go index 93eb6d81..d4f4733e 100644 --- a/dns.go +++ b/dns.go @@ -154,7 +154,7 @@ func (s RRset) Ok() bool { type Exchange struct { Request *Msg // The question sent. Reply *Msg // The answer to the question that was sent. - Error error // If something when wrong, this contains the error. + Error error // If something went wrong, this contains the error. } // DNS resource records.