mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
plugin/file/cache: Add metadata for wildcard record responses (#5308)
For responses synthesized by known wildcard records, publish metadata containing the wildcard record name Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
1
plugin/cache/item.go
vendored
1
plugin/cache/item.go
vendored
@@ -19,6 +19,7 @@ type item struct {
|
||||
Answer []dns.RR
|
||||
Ns []dns.RR
|
||||
Extra []dns.RR
|
||||
wildcard string
|
||||
|
||||
origTTL uint32
|
||||
stored time.Time
|
||||
|
||||
Reference in New Issue
Block a user