Skip to content

Commit 153f185

Browse files
committed
dns: do not busting DNS caches as it busts some apps?
1 parent 37035a9 commit 153f185

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 = ZeroTTL
81+
ansTTL = ZeroTTL
8182
}
8283
}
8384

0 commit comments

Comments
 (0)