Cache Negatif (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.
Cache negatif adalah penyimpanan respons DNS negatif — paling umum NXDOMAIN ("Domain Tidak Ada") dan jawaban NODATA — oleh [[recursive-dns|resolver rekursif]], sebagaimana didefinisikan dalam RFC 2308. Ketika resolver menanyakan domain yang tidak ada dan menerima respons NXDOMAIN, ia menyimpan hasil negatif ini selama durasi yang ditentukan dalam field minimum TTL [[soa-record|record SOA]], mencegah kueri upstream berulang untuk nama yang tidak ada. Cache negatif mengurangi beban pada [[authoritative-dns|server autoritatif]] selama badai ketikan keliru atau banjir kueri terarah. [[ttl|TTL]] negatif biasanya lebih pendek dari TTL record positif, umumnya antara 60 dan 3600 detik.
Contoh
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.