测试 DNS 服务器

发布于 2024-10-02 07:10:20 字数 226 浏览 0 评论 0原文

我正在实现一个 DNS 服务器,我想知道是否有任何工具(最好是在线工具)可以用来测试我是否正确实现了各种功能。我可以使用该工具向 DNS 服务器发出各种请求并测试它是否遵循 rfc 1035 规范。是否有任何“参考测试用例”或类似的东西?或者,实施协议的人是否应该只阅读英语自然语言文档,并相信他们在阅读时不会犯任何人为错误?如果标准有测试用例而不仅仅是描述,不是会更强吗?无论如何,我离题了,请问如何测试 DNS 服务器以使其符合标准?

I'm implementing a DNS server and I wonder if there's any tool, preferably online, that I can use to test that I've implemented various features right. A tool that I could use to make various requests to the DNS server and test that it follows the rfc 1035 specification. Are there any "reference test cases" or something like that? Or are people who implement protocolls supposed to just read the english natural language documents and just trust they don't do any human mistakes while reading it? Wouldn't a standard be stronger if it had test cases and not just a description? Anyway, I digress, How to test a DNS server so it complies with the standard, please?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夜唯美灬不弃 2024-10-09 07:10:20

Zonecheck 可能是您正在寻找的工具:

http://www.zonecheck.fr

http://www.zonecheck.fr/demo/

它是开源的,用 Ruby 编写,被法国 . fr 域。

Zonecheck is probably the tool you're looking for:

http://www.zonecheck.fr

http://www.zonecheck.fr/demo/

It's open source, written in Ruby officially used by the French registry for .fr domains.

七分※倦醒 2024-10-09 07:10:20

为 DNS 服务器设计通用测试套件的困难有两个:

  • 递归服务器比权威服务器需要更多的功能
  • 标准测试需要一组标准化的测试数据

后者可能是最大的问题 - 你会必须找到一种方法来向 DNS 服务器加载测试套件所需的所有数据。

The difficulies in devising a generic test suite for DNS servers are twofold:

  • recursive servers need much more functionality than authoritative servers
  • standard tests need a standardised set of test data

The latter is probably the largest problem - you'd have to find a way to load up your DNS server with all of the data that the test suite expects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文