加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

domain-name-system – 缓存DNS超时多长时间?

发布时间:2020-12-14 23:47:40 所属栏目:资源 来源:网络整理
导读:如果无法联系到整个区域的服务器,那么这个事实需要缓存多长时间? 解决方法 在BIND 9.11中,默认情况下,SERVFAIL响应缓存1秒. 从BIND管理员参考手册: servfail-ttl Sets the number of seconds to cache a SERVFAIL response due to DNSSEC validation failu
如果无法联系到整个区域的服务器,那么这个事实需要缓存多长时间?

解决方法

在BIND 9.11中,默认情况下,SERVFAIL响应缓存1秒.

从BIND管理员参考手册:

servfail-ttl

Sets the number of seconds to cache a SERVFAIL response due to DNSSEC validation failure or other general server failure. If set to 0,SERVFAIL caching is disabled. The SERVFAIL cache is not consulted if a query has the CD (Checking Disabled) bit set; this allows a query that failed due to DNSSEC validation to be retried without waiting for the SERVFAIL TTL to expire.

The maximum value is 30 seconds; any higher value will be silently reduced. The default is 1 second.

这是根据RFC 2308实现的,尽管在实践中发现其中指定的最大超时是有问题的,因此当前默认为什么.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读