Bộ Nhớ Cache Âm (NXDOMAIN)
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/negative-caching/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/negative-caching/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/negative-caching/)
Use the native HTML custom element.
Bộ nhớ cache âm là việc lưu trữ các phản hồi DNS âm — phổ biến nhất là NXDOMAIN ("Tên Miền Không Tồn Tại") và câu trả lời NODATA — bởi [[recursive-dns|recursive resolver]], được định nghĩa trong RFC 2308. Khi resolver truy vấn một tên miền không tồn tại và nhận được phản hồi NXDOMAIN, nó lưu kết quả âm này trong thời gian được chỉ định trong trường TTL tối thiểu của [[soa-record|bản ghi SOA]], ngăn chặn các truy vấn upstream lặp lại cho cùng tên không tồn tại. Cache âm giảm tải cho [[authoritative-dns|authoritative server]] trong các đợt lỗi đánh máy hay lũ truy vấn. [[ttl|TTL]] âm thường ngắn hơn TTL bản ghi dương, thường đặt từ 60 đến 3600 giây.
Ví dụ
If a resolver queries for mispeld.example.com and receives NXDOMAIN, it caches that negative answer for the SOA minimum TTL (e.g., 300 seconds), returning the cached NXDOMAIN instantly to any client asking for the same name within that window.