aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/response
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-10-10 18:30:14 +0200
committerGravatar GitHub <noreply@github.com> 2017-10-10 18:30:14 +0200
commit7a64d1bbc36ec69c384fa71b7f28ab353a29e7ef (patch)
tree5837622f3b2b71058e9258b896874a5aa8657ad8 /plugin/pkg/response
parent427aed6f5b465277dbc85be3ffbdccf0b88257ac (diff)
downloadcoredns-7a64d1bbc36ec69c384fa71b7f28ab353a29e7ef.tar.gz
coredns-7a64d1bbc36ec69c384fa71b7f28ab353a29e7ef.tar.zst
coredns-7a64d1bbc36ec69c384fa71b7f28ab353a29e7ef.zip
plugin/cache: add minttl test (#1141)
See https://github.com/kubernetes/kubernetes/pull/53604, explicitaly add test to make sure we do the right thing.
Diffstat (limited to 'plugin/pkg/response')
-rw-r--r--plugin/pkg/response/typify.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/pkg/response/typify.go b/plugin/pkg/response/typify.go
index 7cfaab497..9faa17d7b 100644
--- a/plugin/pkg/response/typify.go
+++ b/plugin/pkg/response/typify.go
@@ -99,8 +99,6 @@ func Typify(m *dns.Msg, t time.Time) (Type, *dns.OPT) {
}
}
- // Check length of different sections, and drop stuff that is just to large? TODO(miek).
-
if soa && m.Rcode == dns.RcodeSuccess {
return NoData, opt
}