[GH-ISSUE #273] TTL for query results recursively resolved through CNAME (and SRV?) doesn't take CNAME (SRV?) TTL into account. #429

Closed
opened 2026-03-15 22:27:17 +03:00 by kerem · 1 comment
Owner

Originally created by @briansmith on GitHub (Oct 27, 2017).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/273

Originally created by @briansmith on GitHub (Oct 27, 2017). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/273
kerem 2026-03-15 22:27:17 +03:00
Author
Owner

@briansmith commented on GitHub (Oct 27, 2017):

Consider "a CNAME b" with a 1ms TTL and "b A 1.2.3.4" with a 100 year TTL. A result for (a, 1.2.3.4) should have its result cached for no more than 1ms in case the CNAME changes. However, currently the CNAME's TTL is being ignored. Similarly, when there is a chain of CNAMEs, the CNAMEs earlier in the chain don't have their TTLs taken into account.

<!-- gh-comment-id:339840448 --> @briansmith commented on GitHub (Oct 27, 2017): Consider "a CNAME b" with a 1ms TTL and "b A 1.2.3.4" with a 100 year TTL. A result for (a, 1.2.3.4) should have its result cached for no more than 1ms in case the CNAME changes. However, currently the CNAME's TTL is being ignored. Similarly, when there is a chain of CNAMEs, the CNAMEs earlier in the chain don't have their TTLs taken into account.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#429
No description provided.