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