微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如果无法联系到整个区域的服务器,那么这个事实需要缓存多长时间?

解决方法

在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实现的,尽管在实践中发现其中指定的最大超时是有问题的,因此当前认为什么.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐