Skip to content

Commit 11e4905

Browse files
committed
dns: avoid busting DNS caches as it busts some apps
1 parent 37035a9 commit 11e4905

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

intra/xdns/common.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ var (
7676

7777
func init() {
7878
if BustDnsproxydResNetCache {
79-
blockTTL = uint32(0)
80-
ansTTL = uint32(0)
79+
// setting these to 0 trips apps like GrayJay? github.com/futo-org/grayjay-android/issues/2605
80+
blockTTL = uint32(1)
81+
ansTTL = uint32(1)
8182
}
8283
}
8384

0 commit comments

Comments
 (0)