mirror of
https://github.com/coredns/coredns.git
synced 2025-11-11 06:22:24 -05:00
Compile fixes and make it work
This commit is contained in:
@@ -75,6 +75,7 @@ func (p Proxy) lookup(state request.Request, r *dns.Msg) (*dns.Msg, error) {
|
||||
// hosts until timeout (or until we get a nil host).
|
||||
for time.Now().Sub(start) < tryDuration {
|
||||
host := upstream.Select()
|
||||
println(host.Name)
|
||||
if host == nil {
|
||||
return nil, errUnreachable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user