forked from TrueCloudLab/lego
fix typo (#419)
This commit is contained in:
parent
4dde48a9b9
commit
92ed209099
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ func dnsQuery(fqdn string, rtype uint16, nameservers []string, recursive bool) (
|
||||||
|
|
||||||
if err == dns.ErrTruncated {
|
if err == dns.ErrTruncated {
|
||||||
tcp := &dns.Client{Net: "tcp", Timeout: DNSTimeout}
|
tcp := &dns.Client{Net: "tcp", Timeout: DNSTimeout}
|
||||||
// If the TCP request suceeds, the err will reset to nil
|
// If the TCP request succeeds, the err will reset to nil
|
||||||
in, _, err = tcp.Exchange(m, ns)
|
in, _, err = tcp.Exchange(m, ns)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue