mirror of
https://github.com/safing/portmaster
synced 2025-09-16 01:39:41 +00:00
Handle DNS Rcodes
This commit is contained in:
parent
00de73d65e
commit
4e14439112
8 changed files with 53 additions and 22 deletions
|
@ -81,6 +81,7 @@ func (pr *PlainResolver) Query(ctx context.Context, q *Query) (*RRCache, error)
|
|||
newRecord := &RRCache{
|
||||
Domain: q.FQDN,
|
||||
Question: q.QType,
|
||||
RCode: reply.Rcode,
|
||||
Answer: reply.Answer,
|
||||
Ns: reply.Ns,
|
||||
Extra: reply.Extra,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue