Tagged articles
3 articles
Page 1 of 1
Xiao Liu Lab
Xiao Liu Lab
Oct 24, 2025 · Operations

Why Nginx Caches DNS for Weeks and How to Fix It

In production, Nginx cached DNS lookups for up to a month, causing requests to stale IPs after CDN changes; this article explains the root cause, demonstrates how to configure upstream health checks and the built‑in resolver to ensure timely DNS updates and avoid prolonged outages.

DNSOperationsload balancing
0 likes · 6 min read
Why Nginx Caches DNS for Weeks and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Nov 25, 2023 · Fundamentals

How DNS Caching, Recursion, and Iteration Really Work

This article explains the DNS caching strategy, the difference between recursive and iterative queries, and how resolvers and authoritative servers cooperate to translate hostnames into IP addresses while optimizing network resources.

DNSRecursioncaching
0 likes · 4 min read
How DNS Caching, Recursion, and Iteration Really Work