Негативное кэширование (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.
Негативное кэширование — это хранение отрицательных DNS-ответов — чаще всего NXDOMAIN («несуществующий домен») и ответов NODATA — [[recursive-dns|рекурсивными резолверами]], как определено в RFC 2308. Когда резолвер запрашивает несуществующий домен и получает ответ NXDOMAIN, он кэширует этот отрицательный результат на время, указанное в поле минимального [[ttl|TTL]] [[soa-record|SOA-записи]], предотвращая повторные запросы к вышестоящим серверам для того же несуществующего имени. Негативное кэширование снижает нагрузку на [[authoritative-dns|авторитетные серверы]] во время шквала опечаток или направленных запросов. Отрицательный [[ttl|TTL]] обычно короче TTL положительных записей — как правило, от 60 до 3600 секунд.
Пример
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.