AdguardTeam / AdguardTeam/AdGuardHome

Optimistic caching TTL value

オープン
#5,621 コメント 6 件 リアクション 12 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to request a feature or enhancement and not ask a question

### Description

#### What problem are you trying to solve?

The default TTL value in Optimistic caching is 10. TTL of 10 in DNS world is an eternity. 😃

1) If the ip is still valid, no problem.
2) If the ip is not valid, connection issues. Client software will probably timeout in these 10 seconds.

#### Proposed solution

Ability to manually change/ reduce this value (in AdGuardHome.yaml). Users will change this value based on their network setup.

Or is this option already available? I want to reduce this value to 1-3 seconds. Even with a TTL value of 2 seconds, AdGuard Home will have enough time to refresh the DNS entry. Most DNS responses are <200 ms.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。