AdguardTeam / AdguardTeam/AdGuardHome

Show TTL of negative response in query log

Open
#3,773 0 comments 2 reactions 0 assignees View on GitHub
enhancement P4: Low UI
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

In #3707 AGH began caching negative responses closer to [RFC 2308](https://datatracker.ietf.org/doc/html/rfc2308). But we should improve the way they are shown in the query log. For the moment it only considers the TTL values of the message's answer section but as [section 4](https://datatracker.ietf.org/doc/html/rfc2308#section-4) of RFC 2308 says:

> The SOA minimum field has been overloaded in the past to have three different meanings, the minimum TTL value of all RRs in a zone, the default TTL of RRs which did not contain a TTL value and the TTL of negative responses.

Both the backend and the frontend should consider the ability of DNS message to have a TTL outside of the answer section.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.