mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
set response bit in dns
This commit is contained in:
parent
9a439fb084
commit
fae47083c2
@ -214,6 +214,7 @@ func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, domain string,
|
||||
builder := dnsmessage.NewBuilder(rawBytes[:0], dnsmessage.Header{
|
||||
ID: id,
|
||||
RCode: dnsmessage.RCodeSuccess,
|
||||
Response: true,
|
||||
})
|
||||
builder.StartAnswers()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user