Dude Dawg Homie
Dude Dawg Homie

Reputation: 179

Testing a DNS server

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?

Upvotes: 1

Views: 2293

Answers (2)

Oliver Peter
Oliver Peter

Reputation: 181

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.

Upvotes: 1

Alnitak
Alnitak

Reputation: 339816

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.

Upvotes: 0

Related Questions