Add custom prefix support in EDNS0 client subnet options

This commit is contained in:
世界
2024-05-12 16:47:25 +08:00
parent 29f962a4b0
commit 1b3daf2afe
15 changed files with 96 additions and 41 deletions
+3 -1
View File
@@ -100,7 +100,9 @@ Default outbound will be used if empty.
!!! question "Since sing-box 1.9.0"
Append a `edns0-subnet` OPT extra record with the specified IP address to every query by default.
Append a `edns0-subnet` OPT extra record with the specified IP prefix to every query by default.
If value is an IP address instead of prefix, `/32` or `/128` will be appended automatically.
Can be overrides by `rules.[].client_subnet`.