middleware/etcd: Use the correct endpoint
The endpoint for etcd as wrongly set if a proxy was configured. Clean up some documentation in the process as well.
This commit is contained in:
parent
913cffd4a8
commit
a1e6cb7cf4
9 changed files with 8 additions and 24 deletions
|
@ -73,6 +73,7 @@ func (e Etcd) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i
|
|||
return e.Err(zone, dns.RcodeNameError, state)
|
||||
}
|
||||
if err != nil {
|
||||
println("returning error", err.Error())
|
||||
return dns.RcodeServerFailure, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue