Skip to content

Commit 495b5db

Browse files
authored
Adjust DNS priority order (2dust#9091)
1 parent dea143b commit 495b5db

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

v2rayN/ServiceLib/Global.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,12 @@ public class Global
426426

427427
public static readonly List<string> DomainDirectDNSAddress =
428428
[
429-
"https://dns.alidns.com/dns-query",
430-
"https://doh.pub/dns-query",
431-
"https://dns.alidns.com/dns-query,https://doh.pub/dns-query",
432-
"223.5.5.5",
433429
"119.29.29.29",
430+
"223.5.5.5",
431+
"119.29.29.29,223.5.5.5,https://doh.pub/dns-query",
432+
"https://doh.pub/dns-query",
433+
"https://dns.alidns.com/dns-query",
434+
"https://doh.pub/dns-query,https://dns.alidns.com/dns-query",
434435
"localhost"
435436
];
436437

@@ -452,8 +453,8 @@ public class Global
452453

453454
public static readonly List<string> DomainPureIPDNSAddress =
454455
[
455-
"223.5.5.5",
456456
"119.29.29.29",
457+
"223.5.5.5",
457458
"localhost"
458459
];
459460

0 commit comments

Comments
 (0)