some typo fix (#2512)

Signed-off-by: yeya24 <ben.ye@daocloud.io>
This commit is contained in:
Ye Ben 2019-01-29 23:21:19 +08:00 committed by Chris O'Haver
parent a84c26d78b
commit 0eff7f3797
5 changed files with 8 additions and 8 deletions

View file

@ -161,7 +161,7 @@ google.com:0 {
}
defer i.Stop()
// send an inital query to setup properly the cache size
// send an initial query to setup properly the cache size
m := new(dns.Msg)
m.SetQuestion("google.com.", dns.TypeA)
if _, err = dns.Exchange(m, udp); err != nil {