缓存名称服务器通常会缓存否定的 DNS 响应 SERVFAIL
缓存名称服务器通常是否缓存否定 DNS 响应 SERVFAIL?
编辑: 为了澄清这个问题,我可以看到缓存名称服务器缓存否定响应 NXDOMAIN、NODATA。 但它不会对 SERVFAIL 响应执行此操作。 这是故意的吗?
Does a caching-nameserver usually cache the negative DNS response SERVFAIL?
EDIT:
To clarify the question, I can see the caching nameserver caching negative responses NXDOMAIN, NODATA. But it does not do this for SERVFAIL responses. Is this intentional?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
SOA 中的超时字段之一是“负超时”。 通常设置为较短的时间,例如 30 或 60 秒。 所以,是的,但时间比“积极”反应要短。
One of the timeout fields in the SOA is a "negative timeout". It is usually set to a short time, such as 30 or 60 seconds. So, yes, but for a shorter time than a "positive" response.
RFC 1034 描述了如何缓存否定响应,但没有定义返回这些缓存的机制结果发送给对等解析器。 RFC 2308 定义了这些属性。
负缓存是 DNS 规范的可选部分......
RFC 1034 describes how to cache negative responses but did not define a mechanism for returning those cache results to peer resolvers. RFC 2308 defines these attributes.
Negative caching was an optional part of the DNS Specifications...
RFC2308 的第 7.1 节涵盖了 SERVFAIL:
所以基本上,它取决于您的名称服务器的实现。
SERVFAIL is covered by §7.1 of RFC2308:
So basically, it's dependent on the implementation of your name server.