Skip to content
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

DNS outbound: Add blockTypes #3812

Merged
merged 3 commits into from
Sep 15, 2024
Merged

DNS outbound: Add blockTypes #3812

merged 3 commits into from
Sep 15, 2024

Conversation

Fangliding
Copy link
Member

并且停止默认屏蔽type65的行为(需要的人可以用新选项自行设置)

And stop default blocking type65
@Fangliding
Copy link
Member Author

稍微调整了一下所以需要的话也可以用于屏蔽A或者AAAA
示例 图里屏蔽了AAAA和HTTPS两种查询

{
  "protocol": "dns",
  "tag": "dns",
  "settings": {
    "nonIPQuery": "skip",
    "blockType": "65,28"
  }
}

@RPRX
Copy link
Member

RPRX commented Sep 15, 2024

发现 DNS 出站文档第三行不对,现在默认的行为是 drop

还有我觉得除非涉及到分享链接,最好还是不要到处搞 "65,28" 这种东西吧,改成 blockTypes 数组

@Fangliding
Copy link
Member Author

发现 DNS 出站文档第三行不对,现在默认的行为是 drop

还有我觉得除非涉及到分享链接,最好还是不要到处搞 "65,28" 这种东西吧,改成 blockTypes 数组

只是为了方便写而已 这样搞我反而省事了 反正我不用 ok done
至于文档我看到了 是想着等会加feature一起更正掉

@RPRX
Copy link
Member

RPRX commented Sep 15, 2024

blockTypes

@Fangliding
Copy link
Member Author

blockTypes

好了 代码里面的变量名也改掉了

@Fangliding
Copy link
Member Author

顺便b一嘴昨天有人问月中说好的是不是要有 pre-release

@RPRX
Copy link
Member

RPRX commented Sep 15, 2024

月中的意思是积累了代码随时发 pre-release,相当于 alpha/beta/rc,不是说 15 号一定有 pre-release,然后我想一个月一个 stable

虽然我这次上线的确是打算发个 pre-release,等我刚刚回复的这几个 pr 改完明天就发,现在在看这几天你们合的 pr 有没有问题

@RPRX RPRX changed the title 为DNS出站新增屏蔽查询类型选项 DNS outbound: Add blockTypes Sep 15, 2024
@RPRX RPRX merged commit 3fed0c7 into main Sep 15, 2024
36 checks passed
leninalive pushed a commit to amnezia-vpn/amnezia-xray-core that referenced this pull request Oct 29, 2024
@yuhan6665 yuhan6665 deleted the BlockType branch November 4, 2024 17:53
dragonbreath2000 pushed a commit to dragonbreath2000/Xray-core that referenced this pull request Dec 11, 2024
dragonbreath2000 pushed a commit to dragonbreath2000/Xray-core that referenced this pull request Dec 12, 2024
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