Skip to content

fix dns reject action doc #2993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025

Conversation

PuerNya
Copy link
Contributor

@PuerNya PuerNya commented May 15, 2025

f2687a7 中的 dns action reject 行为已变更,建议修改文档描述

sing-box/dns/router.go

Lines 260 to 268 in f2687a7

case C.RuleActionRejectMethodDefault:
return &mDNS.Msg{
MsgHdr: mDNS.MsgHdr{
Id: message.Id,
Rcode: mDNS.RcodeRefused,
Response: true,
},
Question: []mDNS.Question{message.Question[0]},
}, nil

@nekohasekai nekohasekai merged commit 2e91291 into SagerNet:dev-next May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants