mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Get positive dnssec stuff going
This commit is contained in:
		| @@ -78,6 +78,11 @@ func Parse(f io.Reader, origin, fileName string) (*Zone, error) { | ||||
| 			z.SOA = x.RR.(*dns.SOA) | ||||
| 			continue | ||||
| 		} | ||||
| 		if x.RR.Header().Rrtype == dns.TypeRRSIG { | ||||
| 			if x, ok := x.RR.(*dns.RRSIG); ok && x.TypeCovered == dns.TypeSOA { | ||||
| 				z.SIG = append(z.SIG, x) | ||||
| 			} | ||||
| 		} | ||||
| 		z.Insert(x.RR) | ||||
| 	} | ||||
| 	return z, nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user