Add ServerInfo to resolvers and caches

This commit is contained in:
Daniel
2020-09-22 15:30:21 +02:00
parent 3f3d82bdf1
commit 1b11d1589b
8 changed files with 29 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ func (pr *PlainResolver) Query(ctx context.Context, q *Query) (*RRCache, error)
Extra: reply.Extra,
Server: pr.resolver.Server,
ServerScope: pr.resolver.ServerIPScope,
ServerInfo: pr.resolver.ServerInfo,
}
// TODO: check if reply.Answer is valid