ARCHOS 525 BLUEPRINT · /d/dgm_int-dns-cache-resolver
Caching DNS Resolver Internals (NodeLocal DNSCache, Negative TTL & Coalescing)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-dns-cache-resolver) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-dns-cache-resolver)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-dns-cache-resolver" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Caching DNS Resolver Internals (NodeLocal DNSCache, Negative TTL & Coalescing) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["App / K8s Pods"]
n1_1[("Local Cache Daemon")]
n2a_2["In-Flight Coalescer"]
n2b_3["Prefetch & Serve-Stale"]
n3_4["Upstream CoreDNS / ISP"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Lookup UDP · DNS"| n1_1
n1_1 -->|"2a. Singleflig · RAM"| n2a_2
n1_1 -.->|"2b. Prefetch · Async"| n2b_3
n2a_2 -->|"3a. Miss query · DNS/TCP"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- App / K8s PodsSTATELESSHigh-QPS FQDN Lookups
- Local Cache DaemonSTATEFULUnbound / NodeLocal DNSCache
- In-Flight CoalescerSTATELESSDedups identical misses -> 1 req
- Prefetch & Serve-StaleSTATELESSRefreshes hot keys before expiry
- Upstream CoreDNS / ISPSTATELESSTCP upgrade avoids conntrack drop
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- App / K8s Pods → Local Cache Daemon (Lookup UDP)[DNS]
- Local Cache Daemon → In-Flight Coalescer (Singleflig)[RAM]
- Local Cache Daemon → Prefetch & Serve-Stale (Prefetch)[Async]
- In-Flight Coalescer → Upstream CoreDNS / ISP (Miss query)[DNS/TCP]
- Prefetch & Serve-Stale → Upstream CoreDNS / ISP (Sync)[Control]
- Upstream CoreDNS / ISP → Downstream & OTel (Emit /)[OTLP/API]