Add dns and tunnel context to conntection

This commit is contained in:
Daniel
2021-10-14 15:54:42 +02:00
parent a085b6d430
commit ff31b7c8c5
5 changed files with 31 additions and 8 deletions

View File

@@ -24,13 +24,13 @@ type RRCache struct {
RCode int
// Response Content
Answer []dns.RR
Ns []dns.RR
Extra []dns.RR
Answer []dns.RR `json:"-"`
Ns []dns.RR `json:"-"`
Extra []dns.RR `json:"-"`
Expires int64
// Resolver Information
Resolver *ResolverInfo
Resolver *ResolverInfo `json:"-"`
// Metadata about the request and handling
ServedFromCache bool