mirror of
https://github.com/miekg/dns.git
synced 2025-10-13 19:01:01 +02:00
typos
This commit is contained in:
parent
b0a9805be9
commit
a7ac103a20
@ -3,7 +3,8 @@
|
|||||||
Completely usable DNS library. Most widely used Resource Records are
|
Completely usable DNS library. Most widely used Resource Records are
|
||||||
supported. DNSSEC types too.
|
supported. DNSSEC types too.
|
||||||
EDNS0 is (see edns.go), UDP/TCP queries, TSIG, AXFR (and IXFR probably)
|
EDNS0 is (see edns.go), UDP/TCP queries, TSIG, AXFR (and IXFR probably)
|
||||||
too. Both client and server side programming is supported.
|
too. Both client and server side programming is supported. Asynchronous
|
||||||
|
client queries are also supported.
|
||||||
|
|
||||||
Sample programs can be found in the `_examples` directory. They can
|
Sample programs can be found in the `_examples` directory. They can
|
||||||
be build with: `make examples` (after the dns package has been installed)
|
be build with: `make examples` (after the dns package has been installed)
|
||||||
|
@ -179,7 +179,7 @@ func (w *reply) Write(m *Msg) {
|
|||||||
w.Client().ChannelReply <- []*Msg{w.req, m}
|
w.Client().ChannelReply <- []*Msg{w.req, m}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do performs an async query. The result is returned on the
|
// Do performs an asynchronous query. The result is returned on the
|
||||||
// channel set in the c.
|
// channel set in the c.
|
||||||
func (c *Client) Do(m *Msg, a string) {
|
func (c *Client) Do(m *Msg, a string) {
|
||||||
if c.ChannelQuery == nil {
|
if c.ChannelQuery == nil {
|
||||||
@ -189,7 +189,7 @@ func (c *Client) Do(m *Msg, a string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform an synchronize query. Send the message m to the address
|
// Perform an synchronous query. Send the message m to the address
|
||||||
// contained in a
|
// contained in a
|
||||||
func (c *Client) Exchange(m *Msg, a string) *Msg {
|
func (c *Client) Exchange(m *Msg, a string) *Msg {
|
||||||
w := new(reply)
|
w := new(reply)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user