mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
2
plugin/cache/dnssec.go
vendored
2
plugin/cache/dnssec.go
vendored
@@ -4,7 +4,7 @@ import "github.com/miekg/dns"
|
||||
|
||||
// isDNSSEC returns true if r is a DNSSEC record. NSEC,NSEC3,DS and RRSIG/SIG
|
||||
// are DNSSEC records. DNSKEYs is not in this list on the assumption that the
|
||||
// client explictly asked for it.
|
||||
// client explicitly asked for it.
|
||||
func isDNSSEC(r dns.RR) bool {
|
||||
switch r.Header().Rrtype {
|
||||
case dns.TypeNSEC:
|
||||
|
||||
Reference in New Issue
Block a user