DNS 缓存(TTL)
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/dns-cache/" 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/dns-cache/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/dns-cache/)
Use the native HTML custom element.
DNS 缓存是对 DNS 查询结果的临时存储,由以秒为单位的 TTL(Time-To-Live,生存时间)值控制。缓存通过复用近期查询结果而非每次请求都重新查询,减少了 DNS 查找时间和网络流量。
示例
A TTL of 3600 means DNS resolvers will cache the record for 1 hour before querying the authoritative server again.