diff --git a/exchanger/exchanger.go b/exchanger/exchanger.go index 4e7a1f75..10469d34 100644 --- a/exchanger/exchanger.go +++ b/exchanger/exchanger.go @@ -61,7 +61,7 @@ func ErrorLogging(l *log.Logger) Decorator { return Func(func(m *dns.Msg, a string) (r *dns.Msg, rtt time.Duration, err error) { defer func() { if err != nil { - l.Printf("error exchanging with %q: %v", a, err) + l.Printf("error exchanging %s with %q: %v", m.Question[0], a, err) } }() return ex.Exchange(m, a)