Add block AAAA query support (#10004)

This commit is contained in:
DHR60
2026-08-22 02:18:48 +00:00
committed by GitHub
parent 26a86f9bd2
commit 728cbe70f2
21 changed files with 142 additions and 26 deletions
@@ -82,6 +82,11 @@ public partial class CoreConfigV2rayService
dnsItem.serveStale = simpleDnsItem?.ServeStale is true ? true : null;
dnsItem.enableParallelQuery = simpleDnsItem?.ParallelQuery is true ? true : null;
if (simpleDnsItem.BlockAAAAQuery == true)
{
dnsItem.queryStrategy = "UseIPv4";
}
// DNS routing
var directDnsTags = dnsItem.servers
.Select(server =>