diff options
author | 2016-11-10 14:09:49 +0000 | |
---|---|---|
committer | 2016-11-10 14:09:49 +0000 | |
commit | 8dd47dd9327428fdd845c0935b6168af5101edd1 (patch) | |
tree | 70a8c7ad12b81d4bddf37e47159308db135612f6 | |
parent | 9328a8e7a4452bd9a4f4b351be2c7aa25562e6b2 (diff) | |
download | coredns-8dd47dd9327428fdd845c0935b6168af5101edd1.tar.gz coredns-8dd47dd9327428fdd845c0935b6168af5101edd1.tar.zst coredns-8dd47dd9327428fdd845c0935b6168af5101edd1.zip |
Remove some printlns
-rw-r--r-- | middleware/file/lookup.go | 2 | ||||
-rw-r--r-- | middleware/proxy/lookup.go | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/middleware/file/lookup.go b/middleware/file/lookup.go index fc1ffaacc..c3dc8ad1c 100644 --- a/middleware/file/lookup.go +++ b/middleware/file/lookup.go @@ -340,11 +340,9 @@ func cnameForType(targets []dns.RR, origQtype uint16) []dns.RR { func (z *Zone) externalLookup(state request.Request, target string, qtype uint16) []dns.RR { m, e := z.Proxy.Lookup(state, target, qtype) if e != nil { - println(e.Error()) // TODO(miek): debugMsg for this as well? Log? return nil } - println(m.String()) return m.Answer } diff --git a/middleware/proxy/lookup.go b/middleware/proxy/lookup.go index d0f06986b..340b4e31b 100644 --- a/middleware/proxy/lookup.go +++ b/middleware/proxy/lookup.go @@ -75,7 +75,6 @@ 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 } |