mirror of
https://github.com/coredns/coredns.git
synced 2025-11-13 15:32:24 -05:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user