Skip to content

Commit

Permalink
Add some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
xkww3n committed Sep 19, 2024
1 parent e5a9e65 commit 35f634a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/personal/dns.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
if (
($network.wifi.ssid && $persistentStore.read("bypass_wifi") === "true") ||
(!$network.wifi.ssid && $persistentStore.read("bypass_cellular") === "true")
) {
$done({servers: [
"https://cloudflare-dns.com/dns-query",
"quic://ultralow.dns.nextdns.io"
]})
}
else {
$done({servers: [
"quic://dns.alidns.com",
"https://dns.alidns.com/dns-query",
"https://doh.pub/dns-query"
]})
}

0 comments on commit 35f634a

Please sign in to comment.