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:
Chris O'Haver
2022-07-07 17:07:04 -04:00
committed by GitHub
parent e80d696502
commit 83adb8fa22
5 changed files with 93 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ type item struct {
Answer []dns.RR
Ns []dns.RR
Extra []dns.RR
wildcard string
origTTL uint32
stored time.Time